#14217: Add validation for model field name the same as the model name when 
using
model inheritance
-------------------------------------+-------------------------------------
     Reporter:  willian              |                    Owner:  niall
         Type:  Bug                  |                   Status:  assigned
    Component:  Core (System         |                  Version:  master
  checks)                            |
     Severity:  Normal               |               Resolution:
     Keywords:  model inheritance,   |             Triage Stage:  Accepted
  ORM                                |
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by timgraham):

 * version:  1.2 => master
 * component:  Database layer (models, ORM) => Core (System checks)


Comment:

 This should include the case of child/parent models as described in
 #17043:
 {{{#!python
 from django.db import models

 class A(models.Model):
     pass

 class B(A):
     pass

 class C(A):
     b = models.BooleanField()
 }}}

--
Ticket URL: <https://code.djangoproject.com/ticket/14217#comment:8>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/065.1bbced8cb670aa12b60d9c0e3ff304bd%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to