mirror of
https://github.com/django/django.git
synced 2025-10-26 15:16:09 +00:00
Fixed #2106 -- Made collapse-block JavaScript translatable. Thanks, ramiro
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3114 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
@@ -36,7 +36,7 @@ def logout(request, next_page=None, template_name='registration/logged_out.html'
|
||||
try:
|
||||
del request.session[SESSION_KEY]
|
||||
except KeyError:
|
||||
return render_to_response(template_name, {'title': 'Logged out'}, context_instance=RequestContext(request))
|
||||
return render_to_response(template_name, {'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)
|
||||
|
||||
Reference in New Issue
Block a user