Permalink
Browse files

Removed BaseForm._raw_value().

Unused since efb0100.
  • Loading branch information...
timgraham committed Aug 21, 2015
1 parent d3bc86e commit 97ac77e544f9b1d1f28c0f859bef8fbc195d81a5
Showing with 0 additions and 9 deletions.
  1. +0 −9 django/forms/forms.py
View
@@ -297,15 +297,6 @@ def non_field_errors(self):
"""
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`.

0 comments on commit 97ac77e

Please sign in to comment.