Skip to content

Commit

Permalink
[1.0.X] Fixed #10025 -- Corrected two minor typos in source documenta…
Browse files Browse the repository at this point in the history
…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
freakboy3742 committed Feb 22, 2009
1 parent 624fc2e commit 0b61910
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions django/contrib/auth/tokens.py
Expand Up @@ -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):
Expand All @@ -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:
Expand Down

0 comments on commit 0b61910

Please sign in to comment.