mirror of https://github.com/django/django.git
Fixed an unescisarily gendered pronoun in a docstring
This commit is contained in:
parent
b72b85af15
commit
9af7e18f35
|
@ -98,7 +98,7 @@ def logout(request, next_page=None,
|
||||||
|
|
||||||
def logout_then_login(request, login_url=None, current_app=None, extra_context=None):
|
def logout_then_login(request, login_url=None, current_app=None, extra_context=None):
|
||||||
"""
|
"""
|
||||||
Logs out the user if he is logged in. Then redirects to the log-in page.
|
Logs out the user if they are logged in. Then redirects to the log-in page.
|
||||||
"""
|
"""
|
||||||
if not login_url:
|
if not login_url:
|
||||||
login_url = settings.LOGIN_URL
|
login_url = settings.LOGIN_URL
|
||||||
|
|
Loading…
Reference in New Issue