Merge branch 'onelab' of ssh://git.onelab.eu/git/myslice into onelab
[myslice.git] / sample / scrollview.py
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
5
6 from unfold.prelude import Prelude
7
8 from ui.topmenu import topmenu_items, the_user
9 # tmp
10 from trashutils import lorem, hard_wired_slice_names
11
12 def scroll_view (request):
13     return render_to_response ('view-scroll.html',
14                                {'title':'Toy page for scrolling',
15                                 'topmenu_items': topmenu_items('scroll',request),
16                                 'username':the_user (request),
17                                 'lorem':lorem,
18                                 },
19                                context_instance=RequestContext(request))
20