diff options
author | Tim Graham <timograham@gmail.com> | 2015-08-21 12:14:12 -0400 |
---|---|---|
committer | Tim Graham <timograham@gmail.com> | 2015-08-21 12:14:54 -0400 |
commit | 97ac77e544f9b1d1f28c0f859bef8fbc195d81a5 (patch) | |
tree | 1551fd5b27b9adc31e5e93f7901ffb5d0b19c936 /django/forms | |
parent | d3bc86ec11bb22f06b5e30fac891ef3e43f82a6d (diff) | |
download | django-97ac77e544f9b1d1f28c0f859bef8fbc195d81a5.tar.gz |
Removed BaseForm._raw_value().
Unused since efb0100ee67931329f17bc9988ecd5f0619cea14.
Diffstat (limited to 'django/forms')
-rw-r--r-- | django/forms/forms.py | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/django/forms/forms.py b/django/forms/forms.py index 841790daa1..7db2465fda 100644 --- a/django/forms/forms.py +++ b/django/forms/forms.py @@ -297,15 +297,6 @@ class BaseForm(object): """ return self.errors.get(NON_FIELD_ERRORS, self.error_class(error_class='nonfield')) - def _raw_value(self, fieldname): - """ - Returns the raw_value for a particular field name. This is just a - convenient wrapper around widget.value_from_datadict. - """ - field = self.fields[fieldname] - prefix = self.add_prefix(fieldname) - return field.widget.value_from_datadict(self.data, self.files, prefix) - def add_error(self, field, error): """ Update the content of `self._errors`. |