summaryrefslogtreecommitdiff
path: root/django/contrib/auth/context_processors.py
diff options
context:
space:
mode:
authorAnton Samarchyan <anton.samarchyan@savoirfairelinux.com>2017-01-24 15:31:57 -0500
committerTim Graham <timograham@gmail.com>2017-02-04 16:39:28 -0500
commit5411821e3b8d1427ee63a5914aed1088c04cc1ed (patch)
treecfb0412585eb403092522821617f62307161e36f /django/contrib/auth/context_processors.py
parent3f62d20a9b17c84ba04e0b0c45eff3e596d05dd8 (diff)
Refs #27656 -- Updated django.contrib docstring verb style according to PEP 257.
Diffstat (limited to 'django/contrib/auth/context_processors.py')
-rw-r--r--django/contrib/auth/context_processors.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/django/contrib/auth/context_processors.py b/django/contrib/auth/context_processors.py
index 1938568401..c223971281 100644
--- a/django/contrib/auth/context_processors.py
+++ b/django/contrib/auth/context_processors.py
@@ -45,10 +45,10 @@ class PermWrapper:
def auth(request):
"""
- Returns context variables required by apps that use Django's authentication
+ Return context variables required by apps that use Django's authentication
system.
- If there is no 'user' attribute in the request, uses AnonymousUser (from
+ If there is no 'user' attribute in the request, use AnonymousUser (from
django.contrib.auth).
"""
if hasattr(request, 'user'):