#34525: index_together warning after migration to new style
-------------------------------------+-------------------------------------
Reporter: Mateusz Legięcki | Owner: nobody
Type: Bug | Status: new
Component: Database layer | Version: 4.2
(models, ORM) |
Severity: Release blocker | Resolution:
Keywords: index_together, | Triage Stage: Accepted
warning |
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak):
* cc: Simon Charette (added)
Comment:
To be clear, I believe that we wanted to do the same for
`AlterIndexTogether()` and `CreateModel()`'s `index_together` i.e. support
them only for pre-Django 4.2 migration files and don't deprecate or remove
them. That's why we should avoid raising deprecation warnings for model
states and add a similar [https://docs.djangoproject.com/en/4.2/ref
/migration-operations/#alterindextogether warning] to the `CreateModel()`
docs.
--
Ticket URL: <https://code.djangoproject.com/ticket/34525#comment:15>
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/01070187c9783a2a-f90a3132-b6d3-44d7-b4c0-8ae9a4d77ef4-000000%40eu-central-1.amazonses.com.