Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed #10025 -- Corrected two minor typos in source documentation. Th…

…anks to Tarken for the report.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@9861 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 39dd44570c2b66ed2b251f507f8b189524bb2f9d 1 parent f1e8d24
Russell Keith-Magee freakboy3742 authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 django/contrib/auth/tokens.py
4 django/contrib/auth/tokens.py
View
@@ -4,7 +4,7 @@
class PasswordResetTokenGenerator(object):
"""
- Stratgy object used to generate and check tokens for the password
+ Strategy object used to generate and check tokens for the password
reset mechanism.
"""
def make_token(self, user):
@@ -18,7 +18,7 @@ def check_token(self, user, token):
"""
Check that a password reset token is correct for a given user.
"""
- # Parse the tokem
+ # Parse the token
try:
ts_b36, hash = token.split("-")
except ValueError:
Please sign in to comment.
Something went wrong with that request. Please try again.