diff options
author | Stephen Finucane <stephen.finucane@intel.com> | 2016-03-30 15:04:24 +0100 |
---|---|---|
committer | Stephen Finucane <stephen.finucane@intel.com> | 2016-04-01 13:20:01 +0100 |
commit | 7f42c606e03cf5108bef122972239f1080f9257f (patch) | |
tree | 0cb550072756075ddae0282a43d880dc7545cce0 /patchwork/urls.py | |
parent | b3d1917731f58889328e0cb02cf241e67bd9dcf9 (diff) | |
download | patchwork-7f42c606e03cf5108bef122972239f1080f9257f.tar patchwork-7f42c606e03cf5108bef122972239f1080f9257f.tar.gz |
ui: Redirect to '/' after logout
It's already obvious that the user has logged out, so don't bother
displaying a message saying as much. Redirect to the home page instead.
Signed-off-by: Stephen Finucane <stephen.finucane@intel.com>
Diffstat (limited to 'patchwork/urls.py')
-rw-r--r-- | patchwork/urls.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/patchwork/urls.py b/patchwork/urls.py index 87369ce..f3fdc5b 100644 --- a/patchwork/urls.py +++ b/patchwork/urls.py @@ -92,7 +92,7 @@ urlpatterns = [ {'template_name': 'patchwork/login.html'}, name='auth_login'), url(r'^user/logout/$', auth_views.logout, - {'template_name': 'patchwork/logout.html'}, + {'next_page': '/'}, name='auth_logout'), # registration |