#35749: AlterIndexTogether raising TypeError: 'class Meta' got invalid
attribute(s): index_together
-------------------------------------+-------------------------------------
Reporter: dishn | Type: Bug
Status: new | Component:
| Migrations
Version: 5.1 | Severity: Normal
Keywords: AlterIndexTogether, | Triage Stage:
index_together | Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
According to the documentation: "The AlterIndexTogether migration
operation is now officially supported only for pre-Django 4.2 migration
files. For backward compatibility reasons, it’s still part of the public
API, and there’s no plan to deprecate or remove it, but it should not be
used for new migrations. Use AddIndex and RemoveIndex operations instead."
But when running make migrate it gave error `TypeError: 'class Meta' got
invalid attribute(s): index_together`. Is this an issue or should am I
misunderstanding the problem?
--
Ticket URL: <
https://code.djangoproject.com/ticket/35749>
Django <
https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.