Skip to content

Commit

Permalink
Merge pull request fangli#40 from BaconAndEggs/tiny_readme_logout_typo
Browse files Browse the repository at this point in the history
unquoting the logout view method reference
  • Loading branch information
fangli authored Jan 29, 2018
2 parents b9072b6 + bf5e3e6 commit 8e8f3c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -201,10 +201,10 @@ To enable a logout page, add the following lines to urls.py, before any
.. code-block:: python
# The following line will replace the default user logout with the signout page (optional)
url(r'^accounts/logout/$', 'django_saml2_auth.views.signout'),
url(r'^accounts/logout/$', django_saml2_auth.views.signout),
# The following line will replace the default admin user logout with the signout page (optional)
url(r'^admin/logout/$', 'django_saml2_auth.views.signout'),
url(r'^admin/logout/$', django_saml2_auth.views.signout),
To override the built in signout page put a template named
'django_saml2_auth/signout.html' in your project's template folder.
Expand Down

0 comments on commit 8e8f3c3

Please sign in to comment.