From dcee1dfc798bbf4602a35fb73f6acade9f5fd630 Mon Sep 17 00:00:00 2001 From: Hugo Osvaldo Barrera Date: Wed, 26 Aug 2015 03:07:06 -0300 Subject: Fixed #12405 -- Added LOGOUT_REDIRECT_URL setting. After a user logs out via auth.views.logout(), they're redirected to LOGOUT_REDIRECT_URL if no `next_page` argument is provided. --- docs/topics/auth/default.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'docs/topics') diff --git a/docs/topics/auth/default.txt b/docs/topics/auth/default.txt index 5b6472f7a3..690d11e3b8 100644 --- a/docs/topics/auth/default.txt +++ b/docs/topics/auth/default.txt @@ -1105,7 +1105,9 @@ implementation details see :ref:`using-the-views`. **Optional arguments:** - * ``next_page``: The URL to redirect to after logout. + * ``next_page``: The URL to redirect to after logout. Defaults to + :setting:`settings.LOGOUT_REDIRECT_URL ` if not + supplied. * ``template_name``: The full name of a template to display after logging the user out. Defaults to -- cgit v1.3