Created
November 9, 2016 02:28
-
-
Save citmusa/fedff12806c75e030ac7b63d1e3c5365 to your computer and use it in GitHub Desktop.
Django simple logout and redirect.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
url(r'^logout/$', 'django.contrib.auth.views.logout', {'next_page': '/'}), |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment