Loading django/contrib/auth/models.py +1 −1 Original line number Diff line number Diff line Loading @@ -220,7 +220,7 @@ class User(models.Model): 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. Loading django/contrib/auth/utils.py +1 −1 Original line number Diff line number Diff line Loading @@ -41,7 +41,7 @@ def get_random_string(length=12, allowed_chars='abcdefghijklmnopqrstuvwxyzABCDEF 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: Loading django/forms/forms.py +1 −1 Original line number Diff line number Diff line Loading @@ -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(): Loading django/forms/formsets.py +1 −1 Original line number Diff line number Diff line Loading @@ -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() Loading django/forms/widgets.py +1 −1 Original line number Diff line number Diff line Loading @@ -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 Loading Loading
django/contrib/auth/models.py +1 −1 Original line number Diff line number Diff line Loading @@ -220,7 +220,7 @@ class User(models.Model): 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. Loading
django/contrib/auth/utils.py +1 −1 Original line number Diff line number Diff line Loading @@ -41,7 +41,7 @@ def get_random_string(length=12, allowed_chars='abcdefghijklmnopqrstuvwxyzABCDEF 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: Loading
django/forms/forms.py +1 −1 Original line number Diff line number Diff line Loading @@ -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(): Loading
django/forms/formsets.py +1 −1 Original line number Diff line number Diff line Loading @@ -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() Loading
django/forms/widgets.py +1 −1 Original line number Diff line number Diff line Loading @@ -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 Loading