Modifed the LOGIN_URL variable for new scope based system.
authorMadhusudan.C.S <madhusudancs@gmail.com>
Wed, 21 Jul 2010 02:02:06 +0530
changeset 131 bf9cc0961c31
parent 130 c435a7c430a4
child 132 88932f326d96
Modifed the LOGIN_URL variable for new scope based system.
project/settings.py
--- a/project/settings.py	Wed Jul 21 00:35:09 2010 +0530
+++ b/project/settings.py	Wed Jul 21 02:02:06 2010 +0530
@@ -64,8 +64,6 @@
     os.path.join(os.path.dirname(__file__), "templates"),
 )
 
-LOGIN_URL = "/login"
-
 AUTH_PROFILE_MODULE = 'user.UserProfile'
 
 TEMPLATE_CONTEXT_PROCESSORS = (
@@ -77,3 +75,5 @@
 DEFAULT_FROM_EMAIL = 'admin@scipy.in'
 
 CURRENT_SCOPE = 'scipyin/2010'
+
+LOGIN_URL = '%s/login' % (CURRENT_SCOPE)