[Oi-commits] r187 - trunk

oi-commits at pardus.org.tr oi-commits at pardus.org.tr
Mon Jun 11 14:14:59 EEST 2007


Author: ahmet
Date: Mon Jun 11 14:14:59 2007
New Revision: 187

Modified:
   trunk/settings.py
Log:
We don't need this workaround anymore.

Modified: trunk/settings.py
=================================================================
--- trunk/settings.py	(original)
+++ trunk/settings.py	Mon Jun 11 14:14:59 2007
@@ -5,8 +5,6 @@
 # Licensed under the GNU General Public License, version 2.
 # See the file http://www.gnu.org/copyleft/gpl.txt.
 
-import django.contrib.auth
-
 DEBUG = True
 TEMPLATE_DEBUG = DEBUG
 
@@ -32,9 +30,6 @@
 LOGIN_REDIRECT_URL = '/user/dashboard/'
 LOGOUT_URL = '/user/logout/'
 
-#FIXME: in 0.95, login_required decorator redirects to /accounts/login and not uses the value in settings.py. It has been fixed in django svn, maybe in 0.96. We use 0.95, solve it in a ugly way
-django.contrib.auth.LOGIN_URL = LOGIN_URL
-
 TIME_ZONE = 'Europe/Istanbul'
 LANGUAGE_CODE = 'tr'
 SITE_ID = 1


More information about the Oi-commits mailing list