#5793: Allow custom attributes in Meta classes
-------------------------------------+-------------------------------------
     Reporter:  eikke@…              |                    Owner:  Saeed
                                     |  Hasani Borzadaran
         Type:  New feature          |                   Status:  assigned
    Component:  Database layer       |                  Version:  dev
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:
     Keywords:                       |             Triage Stage:  Accepted
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by Loic Bistuer):

 Dear Saeed, typically that would be intended for reusable 3rd party apps
 to pick up rather than ordinary apps, but yes the idea is not to be
 limited to the built-in attributes.

 The main challenge is to find an elegant way to register new attributes
 (so the system that reports typos still works) and that kicks in at the
 right time to be useful, I mentioned above that I suspect
 `AppConfig.__init__()` will work but that would have to be checked.

 As Dylan mentioned, we also need to see how this interacts with the
 migration framework, especially the ORM inside RunPython.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/5793#comment:28>
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/01070181cfc586e6-c3fb040e-fe25-491f-a2cf-d9fb61b37554-000000%40eu-central-1.amazonses.com.

Reply via email to