mirror of
https://github.com/django/django.git
synced 2025-10-26 23:26:08 +00:00
Fixed an unescisarily gendered pronoun in a docstring
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user