Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[1.0.X] Fixed #10025 -- Corrected two minor typos in source documenta…

…tion. Thanks to Tarken for the report.

Merge of r9861 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9871 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 0b619104dddc8e1532b44315c9590f594ceb5575 1 parent 624fc2e
@freakboy3742 freakboy3742 authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 django/contrib/auth/tokens.py
View
4 django/contrib/auth/tokens.py
@@ -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.