Skip to content

Commit

Permalink
Redirect to front page on login, rather than 404.
Browse files Browse the repository at this point in the history
Fixes #419.
  • Loading branch information
dracos committed Dec 13, 2014
1 parent dbd3ca2 commit 2c6df3c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions example_project/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,8 @@

ROOT_URLCONF = 'example_project.urls'

LOGIN_REDIRECT_URL = '/'

# Python dotted path to the WSGI application used by Django's runserver.
WSGI_APPLICATION = 'example_project.wsgi.application'

Expand Down

0 comments on commit 2c6df3c

Please sign in to comment.