#36357: inspectdb creates a redundant unique_together for composite primary keys -------------------------------------+------------------------------------- Reporter: Baptiste Mispelon | Owner: Baptiste | Mispelon Type: Bug | Status: closed Component: Database layer | Version: 5.2 (models, ORM) | Severity: Release blocker | Resolution: fixed Keywords: CompositePrimaryKey | Triage Stage: Ready for | checkin Has patch: 1 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 -------------------------------------+------------------------------------- Changes (by nessita <124304+nessita@…>):
* resolution: => fixed * status: assigned => closed Comment: In [changeset:"66f9eb0ff1e7147406318c5ba609729678e4e6f6" 66f9eb0f]: {{{#!CommitTicketReference repository="" revision="66f9eb0ff1e7147406318c5ba609729678e4e6f6" Fixed #36357 -- Skipped unique_together in inspectdb output for composite primary keys. Thanks to Baptiste Mispelon for the report and quick fix, and to Simon Charette and Jacob Walls for the reviews. Co-authored-by: Natalia <124304+ness...@users.noreply.github.com> }}} -- Ticket URL: <https://code.djangoproject.com/ticket/36357#comment:5> 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 view this discussion visit https://groups.google.com/d/msgid/django-updates/0107019687321866-a9879b39-b39f-4bc5-a91b-8661612efe8c-000000%40eu-central-1.amazonses.com.