@treeio_login_required
def widget_welcome(request, response_format='html'):
 trial = False
 if (getattr(settings, 'HARDTREE_SUBSCRIPTION_USER_LIMIT') == 3):
  trial = True
 customization = getattr(settings, 'HARDTREE_SUBSCRIPTION_CUSTOMIZATION', True)
 return render_to_response('core/widgets/welcome', {'trial': trial, 'customization': customization}, context_instance=RequestContext(request), response_format=response_format)

@ treeio_login_required def widget_welcome ( request , response_format = 'html' ) : trial = False if ( getattr ( settings , 'HARDTREE_SUBSCRIPTION_USER_LIMIT' ) == 3 ) : trial = True customization = getattr ( settings , 'HARDTREE_SUBSCRIPTION_CUSTOMIZATION' , True ) return render_to_response ( 'core/widgets/welcome' , { 'trial' : trial , 'customization' : customization } , context_instance = RequestContext ( request ) , response_format = response_format )
quick start widget .