git://git.onelab.eu
/
unfold.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Institution+Validation view: Login restriction added
[unfold.git]
/
portal
/
institution.py
diff --git
a/portal/institution.py
b/portal/institution.py
index
792fc6b
..
c53318b
100644
(file)
--- a/
portal/institution.py
+++ b/
portal/institution.py
@@
-5,7
+5,7
@@
from django.template import RequestContext
from django.shortcuts import render_to_response
from django.shortcuts import render
from django.shortcuts import render_to_response
from django.shortcuts import render
-from unfold.loginrequired import
FreeAccess
View
+from unfold.loginrequired import
LoginRequiredAutoLogout
View
from manifold.core.query import Query
from manifoldapi.manifoldapi import execute_query
from manifold.core.query import Query
from manifoldapi.manifoldapi import execute_query
@@
-16,7
+16,7
@@
from myslice.configengine import ConfigEngine
from myslice.theme import ThemeView
import json
from myslice.theme import ThemeView
import json
-class InstitutionView (
FreeAccess
View, ThemeView):
+class InstitutionView (
LoginRequiredAutoLogout
View, ThemeView):
template_name = 'institution.html'
# expose this so we can mention the backend URL on the welcome page
template_name = 'institution.html'
# expose this so we can mention the backend URL on the welcome page