Skip to content

Commit

Permalink
For Django 2.0 Index.fields must be a list
Browse files Browse the repository at this point in the history
  • Loading branch information
Dominik Bartenstein committed Aug 18, 2021
1 parent e993175 commit 471d9e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion reversion/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ class Meta:
)
indexes = (
models.Index(
fields=("content_type", "db")
fields=["content_type", "db"]
),
)
ordering = ("-pk",)
Expand Down

0 comments on commit 471d9e1

Please sign in to comment.