ModelState.fields contain fields from parents in MTI.
Reported by: |
loic84 |
Owned by: |
Tim Graham <timograham@…> |
Component:
|
Migrations
|
Version:
|
dev
|
Severity:
|
Normal
|
Keywords:
|
|
Cc:
|
|
Triage Stage:
|
Unreviewed
|
Has patch:
|
yes
|
Needs documentation:
|
no
|
Needs tests:
|
no
|
Patch needs improvement:
|
no
|
Easy pickings:
|
no
|
UI/UX:
|
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)
Owner: |
set to Tim Graham <timograham@…>
|
Resolution: |
→ fixed
|
Status: |
new → closed
|
PR https://github.com/django/django/pull/1537.