mirror of
https://github.com/django/django.git
synced 2025-10-27 07:36:08 +00:00
Refs #27656 -- Updated django.contrib docstring verb style according to PEP 257.
This commit is contained in:
committed by
Tim Graham
parent
3f62d20a9b
commit
5411821e3b
@@ -14,7 +14,7 @@ class PasswordResetTokenGenerator:
|
||||
|
||||
def make_token(self, user):
|
||||
"""
|
||||
Returns a token that can be used once to do a password reset
|
||||
Return a token that can be used once to do a password reset
|
||||
for the given user.
|
||||
"""
|
||||
return self._make_token_with_timestamp(user, self._num_days(self._today()))
|
||||
|
||||
Reference in New Issue
Block a user