Exemple #1
0
 def _handle_tag():
     content = caller()
     # TODO: make this cache preparation configurable
     return carefully_strip_whitespace(content)
Exemple #2
0
 def render():
     # TODO: make this cache preparation configurable
     return carefully_strip_whitespace(nodelist.render(context))
 def render():
     # TODO: make this cache preparation configurable
     return carefully_strip_whitespace(nodelist.render(context))