Author: russellm
Date: 2009-02-22 00:08:37 -0600 (Sun, 22 Feb 2009)
New Revision: 9861

Modified:
   django/trunk/django/contrib/auth/tokens.py
Log:
Fixed #10025 -- Corrected two minor typos in source documentation. Thanks to 
Tarken for the report.

Modified: django/trunk/django/contrib/auth/tokens.py
===================================================================
--- django/trunk/django/contrib/auth/tokens.py  2009-02-22 06:08:13 UTC (rev 
9860)
+++ django/trunk/django/contrib/auth/tokens.py  2009-02-22 06:08:37 UTC (rev 
9861)
@@ -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 @@
         """
         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:


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to