From 97ac77e544f9b1d1f28c0f859bef8fbc195d81a5 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Fri, 21 Aug 2015 12:14:12 -0400 Subject: [PATCH] Removed BaseForm._raw_value(). Unused since efb0100ee67931329f17bc9988ecd5f0619cea14. --- django/forms/forms.py | 9 --------- 1 file changed, 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`.