Ticket #8825: admin_inherited_m2m.diff

File admin_inherited_m2m.diff, 609 bytes (added by Christofer Bernander <nospam@…>, 7 years ago)
  • django/db/models/base.py

     
    9090               
    9191            # All the fields of any type declared on this model
    9292            new_fields = new_class._meta.local_fields + \
    93                          new_class._meta.many_to_many + \
     93                         new_class._meta.local_many_to_many + \
    9494                         new_class._meta.virtual_fields
    9595            field_names = set([f.name for f in new_fields])
    9696               
Back to Top