Пример #1
0
 def _reset_context(self):
     # monkeypatch a forced recalculation of the template context
     tags = get_library("markitup_tags")
     tags._markitup_context = _get_markitup_context()
Пример #2
0
 def _reset_context(self):
     # monkeypatch a forced recalculation of the template context
     markitup_tags.register._markitup_context = markitup_tags._get_markitup_context(
     )
Пример #3
0
 def _reset_context(self):
     # monkeypatch a forced recalculation of the template context
     tags = get_library("markitup_tags")
     tags._markitup_context = _get_markitup_context()
Пример #4
0
    def _reset_context(self):
        # monkeypatch a forced recalculation of the template context
        # format of get_library arg changed in 1.2

        tags = get_library(markitup_tags)
        tags._markitup_context = _get_markitup_context()
Пример #5
0
 def _reset_context(self):
     # monkeypatch a forced recalculation of the template context
     markitup_tags.register._markitup_context = markitup_tags._get_markitup_context()