ModelState.fields contain fields from parents in MTI.
|Reported by:||loic84||Owned by:||Tim Graham <timograham@…>|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
This causes FieldError: Local field 'field' in class 'Model1' clashes with field of similar name from base class 'Model2' when the ModelState is rendered.
Change History (3)
comment:1 Changed 3 years ago by loic84
- Has patch set
- Needs documentation unset
- Needs tests unset
- Patch needs improvement unset
comment:2 Changed 3 years ago by Tim Graham <timograham@…>
- Owner set to Tim Graham <timograham@…>
- Resolution set to fixed
- Status changed from new to closed