Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

[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
Russell Keith-Magee authored February 22, 2009

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. 4  django/contrib/auth/tokens.py
4  django/contrib/auth/tokens.py
@@ -4,7 +4,7 @@
4 4
 
5 5
 class PasswordResetTokenGenerator(object):
6 6
     """
7  
-    Stratgy object used to generate and check tokens for the password
  7
+    Strategy object used to generate and check tokens for the password
8 8
     reset mechanism.
9 9
     """
10 10
     def make_token(self, user):
@@ -18,7 +18,7 @@ def check_token(self, user, token):
18 18
         """
19 19
         Check that a password reset token is correct for a given user.
20 20
         """
21  
-        # Parse the tokem
  21
+        # Parse the token
22 22
         try:
23 23
             ts_b36, hash = token.split("-")
24 24
         except ValueError:

0 notes on commit 0b61910

Please sign in to comment.
Something went wrong with that request. Please try again.