Resolve default ordering warnings from tests

This commit is contained in:
AlanCoding
2019-05-02 18:00:18 -04:00
parent f174902bb2
commit f4c18843a3
13 changed files with 82 additions and 0 deletions

View File

@@ -138,6 +138,7 @@ class Role(models.Model):
index_together = [
("content_type", "object_id")
]
ordering = ("content_type", "object_id")
role_field = models.TextField(null=False)
singleton_name = models.TextField(null=True, default=None, db_index=True, unique=True)