# HG changeset patch # User dellsystem # Date 1348326750 14400 # Node ID be8fec1e85d927c64aef0eef59ba90ad98ecc09c # Parent 20f743ed0f57e7c5577cc345cafc583fba7436c5 Add LOGIN_URL to settings So that the @login_required decorator uses the custom login/registration view and not the default one diff -r 20f743ed0f57 -r be8fec1e85d9 settings.py --- a/settings.py Sat Sep 22 11:11:46 2012 -0400 +++ b/settings.py Sat Sep 22 11:12:30 2012 -0400 @@ -150,5 +150,7 @@ COMMENTS_APP = 'threadedcomments' +# Doesn't accept view names until Django 1.5 LOGIN_REDIRECT_URL='/' +LOGIN_URL = '/login' AUTH_PROFILE_MODULE = 'profile.Profile'