comparison settings.py @ 129:be8fec1e85d9

Add LOGIN_URL to settings So that the @login_required decorator uses the custom login/registration view and not the default one
author dellsystem <ilostwaldo@gmail.com>
date Sat, 22 Sep 2012 11:12:30 -0400
parents f872c643b056
children 7a27b1c9cb84
comparison
equal deleted inserted replaced
128:20f743ed0f57 129:be8fec1e85d9
148 'agora.apps.mptt', 148 'agora.apps.mptt',
149 ) 149 )
150 150
151 COMMENTS_APP = 'threadedcomments' 151 COMMENTS_APP = 'threadedcomments'
152 152
153 # Doesn't accept view names until Django 1.5
153 LOGIN_REDIRECT_URL='/' 154 LOGIN_REDIRECT_URL='/'
155 LOGIN_URL = '/login'
154 AUTH_PROFILE_MODULE = 'profile.Profile' 156 AUTH_PROFILE_MODULE = 'profile.Profile'