changeset 683:c83d330cb65f

For Django 1.5: LOGIN_* related settings take url names now.
author Brian Neal <bgneal@gmail.com>
date Fri, 23 Aug 2013 19:02:45 -0500
parents 25a408bb71a3
children 161b56849114
files sg101/settings/base.py
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/sg101/settings/base.py	Mon Aug 19 21:04:27 2013 -0500
+++ b/sg101/settings/base.py	Fri Aug 23 19:02:45 2013 -0500
@@ -147,9 +147,9 @@
     'ygroup',
 ]
 
-LOGIN_URL = '/accounts/login/'
-LOGIN_REDIRECT_URL = '/profile/me/'
-LOGOUT_URL = '/accounts/logout/'
+LOGIN_URL = 'accounts-login'
+LOGIN_REDIRECT_URL = 'bio-me'
+LOGOUT_URL = 'accounts-logout'
 
 FILE_UPLOAD_PERMISSIONS = 0644
 DEFAULT_FROM_EMAIL = ADMINS[0][1]