1
0
mirror of https://github.com/django/django.git synced 2024-12-22 17:16:24 +00:00

Fixed an unescisarily gendered pronoun in a docstring

This commit is contained in:
Alex Gaynor 2013-11-29 16:57:14 -06:00
parent b72b85af15
commit 9af7e18f35

View File

@ -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