Ticket #7588: 7588.naive.diff
File 7588.naive.diff, 640 bytes (added by , 16 years ago) |
---|
-
django/db/models/base.py
112 112 new_class._meta.parents[base] = field 113 113 else: 114 114 # The abstract base class case. 115 new_class._meta.parents.update(base._meta.parents) 115 116 names = set([f.name for f in new_class._meta.local_fields + new_class._meta.many_to_many]) 116 117 for field in base._meta.local_fields + base._meta.local_many_to_many: 117 118 if field.name in names: