1
0
mirror of https://github.com/django/django.git synced 2025-10-23 21:59:11 +00:00

Fixed #28197 -- Fixed introspection of index field ordering on PostgreSQL.

This commit is contained in:
Tim Schneider
2017-05-12 18:01:30 +02:00
committed by Tim Graham
parent 3008f30f19
commit 3a5299c19c
4 changed files with 16 additions and 4 deletions

View File

@@ -47,6 +47,7 @@ class Article(models.Model):
ordering = ('headline',)
index_together = [
["headline", "pub_date"],
['headline', 'response_to', 'pub_date', 'reporter'],
]