#36357: inspectdb creates a redundant unique_together for composite primary keys
-------------------------------------+-------------------------------------
Reporter: Baptiste Mispelon | Owner: Baptiste
Type: | Mispelon
Cleanup/optimization | Status: assigned
Component: Database layer | Version: 5.2
(models, ORM) |
Severity: Normal | Resolution:
Keywords: CompositePrimaryKey | Triage Stage:
| Unreviewed
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Baptiste Mispelon):
* has_patch: 0 => 1
* owner: (none) => Baptiste Mispelon
* status: new => assigned
Comment:
Here's a draft PR with a test and a fix:
https://github.com/django/django/pull/19430
I'll add release notes if the ticket is accepted.
--
Ticket URL: <https://code.djangoproject.com/ticket/36357#comment:1>
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/010701967b72c74c-ee1117ef-0f3f-476a-b268-2fe099ca134e-000000%40eu-central-1.amazonses.com.