1 from django.core.context_processors import csrf
2 from django.template import RequestContext
3 from django.shortcuts import render_to_response
4 from django.contrib.auth.decorators import login_required
6 from unfold.prelude import Prelude
8 from ui.topmenu import topmenu_items, the_user
10 from trashutils import lorem, hard_wired_slice_names
13 def tab_view (request):
14 print "request", request.__class__
16 prelude=Prelude( js_files='js/bootstrap.js', css_files='css/bootstrap.css')
18 tab_env = {'title':'Page for playing with Tabs',
19 'topmenu_items': topmenu_items('tab',request),
20 'username':the_user (request),
24 tab_env.update (prelude.prelude_env())
25 return render_to_response ('view-tab.html', tab_env,
26 context_instance=RequestContext(request))