def _reset_context(self): # monkeypatch a forced recalculation of the template context tags = get_library("markitup_tags") tags._markitup_context = _get_markitup_context()
def _reset_context(self): # monkeypatch a forced recalculation of the template context markitup_tags.register._markitup_context = markitup_tags._get_markitup_context( )
def _reset_context(self): # monkeypatch a forced recalculation of the template context tags = get_library("markitup_tags") tags._markitup_context = _get_markitup_context()
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()
def _reset_context(self): # monkeypatch a forced recalculation of the template context markitup_tags.register._markitup_context = markitup_tags._get_markitup_context()