1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00

Refs #27236 -- Removed usage of Meta.index_together from indexes/introspection test models.

This commit is contained in:
David Wobrock
2022-07-11 08:23:50 +02:00
committed by Mariusz Felisiak
parent 77330a089c
commit f8f16b3cd8
3 changed files with 7 additions and 13 deletions

View File

@@ -38,9 +38,7 @@ class Article(models.Model):
)
class Meta:
index_together = [
["headline", "pub_date"],
]
indexes = [models.Index(fields=["headline", "pub_date"])]
class IndexedArticle(models.Model):