From: Rohan Jain Date: Mon, 13 Jun 2011 06:56:29 +0000 (+0530) Subject: Redirect to / on login X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=8930516fb9465df0737bf240ccc42abe14f7943a;p=django-social-auth.git Redirect to / on login Prevent 404 for profile page by redirecting to '/' page always on login. --- diff --git a/example/settings.py b/example/settings.py index 689f9d1..158e790 100644 --- a/example/settings.py +++ b/example/settings.py @@ -74,6 +74,8 @@ AUTHENTICATION_BACKENDS = ( 'django.contrib.auth.backends.ModelBackend', ) +LOGIN_REDIRECT_URL = '/' + try: from local_settings import * except: