1
0
mirror of https://github.com/django/django.git synced 2025-10-24 22:26:08 +00:00

Remove comments referencing encryption. Django doesn't do encryption.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@17012 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Paul McMillan
2011-10-18 20:28:52 +00:00
parent 14d24eb438
commit 67565a5379
5 changed files with 5 additions and 5 deletions

View File

@@ -358,7 +358,7 @@ class BaseForm(StrAndUnicode):
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():

View File

@@ -325,7 +325,7 @@ class BaseFormSet(StrAndUnicode):
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()

View File

@@ -140,7 +140,7 @@ class MediaDefiningClass(type):
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