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
@@ -41,9 +41,9 @@ class Article(models.Model):
|
||||
|
||||
class Meta:
|
||||
ordering = ("headline",)
|
||||
index_together = [
|
||||
["headline", "pub_date"],
|
||||
["headline", "response_to", "pub_date", "reporter"],
|
||||
indexes = [
|
||||
models.Index(fields=["headline", "pub_date"]),
|
||||
models.Index(fields=["headline", "response_to", "pub_date", "reporter"]),
|
||||
]
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user