Changeset 3831
- Timestamp:
- 09/25/06 09:17:51 (2 years ago)
- Files:
-
- django/trunk/django/db/models/manipulators.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/trunk/django/db/models/manipulators.py
r3830 r3831 130 130 131 131 expanded_data = DotExpandedDict(dict(new_data)) 132 print expanded_data133 132 # Save many-to-one objects. Example: Add the Choice objects for a Poll. 134 133 for related in self.opts.get_all_related_objects(): … … 217 216 for f in related.opts.many_to_many: 218 217 if child_follow.get(f.name, None) and not f.rel.edit_inline: 219 print 'rel_new_data:',rel_new_data220 218 setattr(new_rel_obj, f.name, f.rel.to.objects.filter(pk__in=rel_new_data[f.attname])) 221 219 if self.change:
