Skip to content

Commit

Permalink
unquoting the logout view method reference
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh Rose committed Jan 26, 2018
1 parent aabb629 commit bf5e3e6
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 bf5e3e6

Please sign in to comment.