merge
[unfold.git] / portal / loginwidget.py
1 from django.core.context_processors import csrf
2 from django.shortcuts               import render_to_response
3
4 from django.views.generic.base      import TemplateView
5 from unfold.loginrequired           import FreeAccessView
6
7 class LoginWidget(FreeAccessView):
8     
9     def get(self, request):
10         env = {}
11         env.update(csrf(request))
12         return render_to_response("loginwidget.html", env)