From 356c2e78262ca601993835b9d1e3f8e17e833659 Mon Sep 17 00:00:00 2001 From: Adrian Holovaty Date: Tue, 11 Apr 2006 02:49:51 +0000 Subject: [PATCH] magic-removal: Added 'Logged out' title to admin log-out page git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2659 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/contrib/auth/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django/contrib/auth/views.py b/django/contrib/auth/views.py index eb9bc1650d..8cf21c0d52 100644 --- a/django/contrib/auth/views.py +++ b/django/contrib/auth/views.py @@ -36,7 +36,7 @@ def logout(request, next_page=None): try: del request.session[SESSION_KEY] except KeyError: - return render_to_response('registration/logged_out', context_instance=RequestContext(request)) + return render_to_response('registration/logged_out', {'title': 'Logged out'}, context_instance=RequestContext(request)) else: # Redirect to this page until the session has been cleared. return HttpResponseRedirect(next_page or request.path)