Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Redirect to / on login

Prevent 404 for profile page by redirecting to '/' page always on login.
  • Loading branch information...
commit 8930516fb9465df0737bf240ccc42abe14f7943a 1 parent ef57ebd
@crodjer authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  example/settings.py
View
2  example/settings.py
@@ -74,6 +74,8 @@
'django.contrib.auth.backends.ModelBackend',
)
+LOGIN_REDIRECT_URL = '/'
+
try:
from local_settings import *
except:
Please sign in to comment.
Something went wrong with that request. Please try again.