Improve forbidding field shadowing in model multi-inheritance
This is a ticket to improve #17673 for multi inheritance of grand father
class GrandFather(models.Model):
column1 = models.IntegerField()
class Father(GrandFather):
column2 = models.IntegerField()
class Child(Father):
column1 = models.IntegerField() # this should fail, but it does pass.
Change History
(5)
Has patch: |
set
|
Patch needs improvement: |
set
|
Triage Stage: |
Unreviewed → Accepted
|
Patch needs improvement: |
unset
|
Resolution: |
→ fixed
|
Status: |
new → closed
|
https://github.com/django/django/pull/4018