Ticket #10808: base.py.2.diff
File base.py.2.diff, 847 bytes (added by , 15 years ago) |
---|
-
base.py
273 273 # Now we're left with the unprocessed fields that *must* come from 274 274 # keywords, or default. 275 275 276 set_fields = set([]) 276 277 for field in fields_iter: 278 if field.attname in set_fields: 279 continue 277 280 is_related_object = False 278 281 # This slightly odd construct is so that we can access any 279 282 # data-descriptor object (DeferredAttribute) without triggering its … … 311 314 setattr(self, field.name, rel_obj) 312 315 else: 313 316 setattr(self, field.attname, val) 317 set_fields.add(field.attname) 314 318 315 319 if kwargs: 316 320 for prop in kwargs.keys():