Ticket #6733: data_prefix_dict.diff
File data_prefix_dict.diff, 573 bytes (added by , 17 years ago) |
---|
-
django/newforms/forms.py
diff -r 9ff621b77676 django/newforms/forms.py
a b 81 81 # Instances should always modify self.fields; they should not modify 82 82 # self.base_fields. 83 83 self.fields = deepcopy(self.base_fields) 84 if prefix is not None: 85 self.data = dict([(self.add_prefix(key), value) 86 for key, value in self.data.iteritems()]) 84 87 85 88 def __unicode__(self): 86 89 return self.as_table()