Ticket #6504: attname-patch.diff
File attname-patch.diff, 700 bytes (added by , 17 years ago) |
---|
-
django/db/models/manipulators.py
185 185 param = None 186 186 elif self.change and (isinstance(f, FileField) or not child_follow.get(f.name, None)): 187 187 if old_rel_obj: 188 param = getattr(old_rel_obj, f. column)188 param = getattr(old_rel_obj, f.attname) 189 189 else: 190 190 param = f.get_default() 191 191 else: