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:
committed by
Mariusz Felisiak
parent
77330a089c
commit
f8f16b3cd8
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user