Author: PaulM
Date: 2011-10-18 13:28:52 -0700 (Tue, 18 Oct 2011)
New Revision: 17012

Modified:
   django/trunk/django/contrib/auth/models.py
   django/trunk/django/contrib/auth/utils.py
   django/trunk/django/forms/forms.py
   django/trunk/django/forms/formsets.py
   django/trunk/django/forms/widgets.py
Log:
Remove comments referencing encryption. Django doesn't do encryption.


Modified: django/trunk/django/contrib/auth/models.py
===================================================================
--- django/trunk/django/contrib/auth/models.py  2011-10-18 18:09:23 UTC (rev 
17011)
+++ django/trunk/django/contrib/auth/models.py  2011-10-18 20:28:52 UTC (rev 
17012)
@@ -220,7 +220,7 @@
     def check_password(self, raw_password):
         """
         Returns a boolean of whether the raw_password was correct. Handles
-        encryption formats behind the scenes.
+        hashing formats behind the scenes.
         """
         # Backwards-compatibility check. Older passwords won't include the
         # algorithm or salt.

Modified: django/trunk/django/contrib/auth/utils.py
===================================================================
--- django/trunk/django/contrib/auth/utils.py   2011-10-18 18:09:23 UTC (rev 
17011)
+++ django/trunk/django/contrib/auth/utils.py   2011-10-18 20:28:52 UTC (rev 
17012)
@@ -41,7 +41,7 @@
 def check_password(raw_password, enc_password):
     """
     Returns a boolean of whether the raw_password was correct. Handles
-    encryption formats behind the scenes.
+    hashing formats behind the scenes.
     """
     parts = enc_password.split('$')
     if len(parts) != 3:

Modified: django/trunk/django/forms/forms.py
===================================================================
--- django/trunk/django/forms/forms.py  2011-10-18 18:09:23 UTC (rev 17011)
+++ django/trunk/django/forms/forms.py  2011-10-18 20:28:52 UTC (rev 17012)
@@ -358,7 +358,7 @@
 
     def is_multipart(self):
         """
-        Returns True if the form needs to be multipart-encrypted, i.e. it has
+        Returns True if the form needs to be multipart-encoded, i.e. it has
         FileInput. Otherwise, False.
         """
         for field in self.fields.values():

Modified: django/trunk/django/forms/formsets.py
===================================================================
--- django/trunk/django/forms/formsets.py       2011-10-18 18:09:23 UTC (rev 
17011)
+++ django/trunk/django/forms/formsets.py       2011-10-18 20:28:52 UTC (rev 
17012)
@@ -325,7 +325,7 @@
 
     def is_multipart(self):
         """
-        Returns True if the formset needs to be multipart-encrypted, i.e. it
+        Returns True if the formset needs to be multipart, i.e. it
         has FileInput. Otherwise, False.
         """
         return self.forms and self.forms[0].is_multipart()

Modified: django/trunk/django/forms/widgets.py
===================================================================
--- django/trunk/django/forms/widgets.py        2011-10-18 18:09:23 UTC (rev 
17011)
+++ django/trunk/django/forms/widgets.py        2011-10-18 20:28:52 UTC (rev 
17012)
@@ -140,7 +140,7 @@
 class Widget(object):
     __metaclass__ = MediaDefiningClass
     is_hidden = False          # Determines whether this corresponds to an 
<input type="hidden">.
-    needs_multipart_form = False # Determines does this widget need 
multipart-encrypted form
+    needs_multipart_form = False # Determines does this widget need multipart 
form
     is_localized = False
     is_required = False
 

-- 
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