@contextfunction
def demo_user(context):
 response_format = 'html'
 demo = getattr(settings, 'HARDTREE_DEMO_MODE', False)
 return Markup(render_to_string('core/tags/demo_user', {'demo': demo}, response_format=response_format))

@ contextfunction def demo_user ( context ) : response_format = 'html' demo = getattr ( settings , 'HARDTREE_DEMO_MODE' , False ) return Markup ( render_to_string ( 'core/tags/demo_user' , { 'demo' : demo } , response_format = response_format ) )
print demo block if demo .