#35827: Model subclass with __init_subclass__ doesn't get correct _meta instance
-------------------------------------+-------------------------------------
Reporter: Ben Beecher | Owner: (none)
Type: New feature | Status: new
Component: Database layer | Version: 5.0
(models, ORM) |
Severity: Normal | Resolution:
Keywords: | Triage Stage:
| Someday/Maybe
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Simon Charette):
* component: Uncategorized => Database layer (models, ORM)
* stage: Unreviewed => Someday/Maybe
* type: Uncategorized => New feature
Comment:
I think this can be won't-fix on the same ground as #34555.
In order to truly support `__init_subclass__` for different use case we'd
need someone to own the problem space and suggest an implementation change
to `BaseModel.__new__` that is backward compatible and
[
https://docs.djangoproject.com/en/5.1/internals/contributing/bugs-and-
features/#reporting-bugs-and-requesting-features receives the support of
the developers on the forum like any new large feature requests].
--
Ticket URL: <
https://code.djangoproject.com/ticket/35827#comment:5>