#16646: Only first meta inner class inherited with multiple abstract base 
models.
-------------------------------------+-------------------------------------
               Reporter:  varikin    |          Owner:  nobody
                   Type:  Bug        |         Status:  reopened
              Milestone:             |      Component:  Database layer
                Version:  1.3        |  (models, ORM)
             Resolution:             |       Severity:  Normal
           Triage Stage:             |       Keywords:
  Unreviewed                         |      Has patch:  0
    Needs documentation:  0          |    Needs tests:  0
Patch needs improvement:  0          |  Easy pickings:  0
                  UI/UX:  0          |
-------------------------------------+-------------------------------------
Changes (by varikin):

 * status:  closed => reopened
 * resolution:  worksforme =>


Comment:

 They do not address the concern. For starters, ordering was not copied
 over to the child class in the first case. Second, from the docs:

 When an abstract base class is created, Django makes any Meta inner class
 you declared in the base class available as an attribute. If a child class
 does not declare its own Meta class, it will inherit the parent's Meta.

 https://docs.djangoproject.com/en/dev/topics/db/models/#meta-inheritance

 My examples use abstract base classes, so the Meta class should be
 inherited. This is a matter of when using abstract base classes, the meta
 is not inherited for multiple abstract base classes.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/16646#comment:2>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to