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

@@ -50,6 +50,7 @@ class NotificationTemplate(CommonModelNameNotUnique):
class Meta:
app_label = 'main'
unique_together = ('organization', 'name')
ordering = ("name",)
organization = models.ForeignKey(
'Organization',