Fixed typo in django.views.auth.login
git-svn-id: http://code.djangoproject.com/svn/django/trunk@515 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
00da60e932
commit
935daf0626
|
@ -35,7 +35,7 @@ def login(request):
|
||||||
return response
|
return response
|
||||||
|
|
||||||
def logout(request):
|
def logout(request):
|
||||||
"Logs out the user and displays 'You are logged you' message."
|
"Logs out the user and displays 'You are logged out' message."
|
||||||
if request.session:
|
if request.session:
|
||||||
# Do a redirect to this page until the session has been cleared.
|
# Do a redirect to this page until the session has been cleared.
|
||||||
response = HttpResponseRedirect(request.path)
|
response = HttpResponseRedirect(request.path)
|
||||||
|
|
Loading…
Reference in New Issue