#33174: Having a model inherit from Generic[T] breaks makemigrations
--------------------------------+------------------------------------
Reporter: Antoine Humeau | Owner: nobody
Type: New feature | Status: new
Component: Migrations | Version: 3.2
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
--------------------------------+------------------------------------
Changes (by Jacob Walls):
* resolution: wontfix =>
* stage: Unreviewed => Accepted
* status: closed => new
Comment:
I'll venture to reopen at this point. Re: comment:1,
- We do have an updated story from Python, as of PEP 695
- echoing comment:7 the hope is that a small patch is possible
- the decision on annotations was re: django's source, versus here we have
a user's valid python class
- 2023 django developers [https://lp.jetbrains.com/django-developer-
survey-2023 survey] shows 70% of users use or plan to use type annotations
Happy to continue on forum if I've overstepped, but I think in the
intervening time this has crossed over into "Django shouldn't crash when
using recent major Python features".
--
Ticket URL: <https://code.djangoproject.com/ticket/33174#comment:11>
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 visit
https://groups.google.com/d/msgid/django-updates/0107019373314363-e3f16801-d2f6-4990-b285-f2c5570d7a7a-000000%40eu-central-1.amazonses.com.