flake8
passed.
JSHint
passed.
Review Request #14741 — Created Dec. 22, 2025 and updated
Django 5.1 removes support for
Meta.index_togetherin favor of just
including these inMeta.indexes. Any metadata classes that still
include this unconditionally will cause a crash when attempting to
finalize the model classes during initialization.We already had a
supports_index_togetherflag, so we just needed to
add some conditionals.A later change will add one additional test that runs on all versions
for verifying that an evolution which removesindex_togetherand adds
indexescontinues to run correctly even on Django>=5.1.
Ran unit tests.
| Summary | ID |
|---|---|
| xovssqympkwwxkupvrnwkzpltussqymv |