Permalink
Browse files

Redirect to / on login

Prevent 404 for profile page by redirecting to '/' page always on login.
  • Loading branch information...
1 parent ef57ebd commit 8930516fb9465df0737bf240ccc42abe14f7943a @crodjer committed Jun 13, 2011
Showing with 2 additions and 0 deletions.
  1. +2 −0 example/settings.py
View
@@ -74,6 +74,8 @@
'django.contrib.auth.backends.ModelBackend',
)
+LOGIN_REDIRECT_URL = '/'
+
try:
from local_settings import *
except:

0 comments on commit 8930516

Please sign in to comment.