in prevision for django-1.7, rename our local auth module into localauth to avoid...
[unfold.git] / portal / manualdelegationview.py
1 # this somehow is not used anymore - should it not be ?
2 from django.core.context_processors import csrf
3 from django.http import HttpResponseRedirect
4 from django.contrib.auth import authenticate, login, logout
5 from django.template import RequestContext
6 from django.shortcuts import render_to_response
7 from django.shortcuts import render
8
9 from unfold.loginrequired import FreeAccessView
10
11 from manifoldapi.manifoldresult import ManifoldResult
12 from ui.topmenu import topmenu_items, the_user
13 from myslice.configengine import ConfigEngine
14
15 from myslice.theme import ThemeView
16
17 class ManualDelegationView (FreeAccessView, ThemeView):
18     template_name = 'manual-delegation.html'
19
20     def get (self, request, state=None):
21         
22         return render_to_response(self.template, { 'theme' : self.theme }, context_instance=RequestContext(request))
23