Ticket #3519: python25fix.diff
File python25fix.diff, 737 bytes (added by , 18 years ago) |
---|
-
django/db/models/manipulators.py
130 130 rel_manager.add(f.rel.to._default_manager.get(pk=n)) 131 131 # TODO: Add to 'fields_changed' 132 132 133 expanded_data = DotExpandedDict(dict( new_data))133 expanded_data = DotExpandedDict(dict([(k,new_data.getlist(k)) for k in new_data.keys()])) 134 134 # Save many-to-one objects. Example: Add the Choice objects for a Poll. 135 135 for related in self.opts.get_all_related_objects(): 136 136 # Create obj_list, which is a DotExpandedDict such as this: