#11078: Proxy models do not inherit META.app_label
-------------------------------------+-------------------------------------
     Reporter:  gsong                |                    Owner:  nobody
         Type:                       |                   Status:  closed
  Cleanup/optimization               |
    Component:  Database layer       |                  Version:  master
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:  fixed
     Keywords:  proxy model          |             Triage Stage:  Accepted
  app_label                          |
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by tyrion):

 I don't think we fixed this correctly. The doc was indeed wrong about
 inheriting "**any** Meta options", but the 'ordering' and 'get_latest_by'
 meta attributes are still copied to the new model.

 This is why I think this behaviour should be either documented or removed.

--
Ticket URL: <https://code.djangoproject.com/ticket/11078#comment:12>
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 django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/063.0bfe54ed52c01dd2211977cd2ae34467%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to