Ticket #5234: django_prefix_bug_patch.diff

File django_prefix_bug_patch.diff, 560 bytes (added by anonymous, 17 years ago)
  • django/newforms/forms.py

     
    284284        """
    285285        Returns the data for this BoundField, or None if it wasn't given.
    286286        """
    287         return self.field.widget.value_from_datadict(self.form.data, self.html_name)
     287        return self.field.widget.value_from_datadict(self.form.data, self.name)
    288288    data = property(_data)
    289289
    290290    def label_tag(self, contents=None, attrs=None):
Back to Top