diff options
Diffstat (limited to 'tests/null_fk_ordering/models.py')
| -rw-r--r-- | tests/null_fk_ordering/models.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/null_fk_ordering/models.py b/tests/null_fk_ordering/models.py index f42ff7b8d5..adfdbf3bea 100644 --- a/tests/null_fk_ordering/models.py +++ b/tests/null_fk_ordering/models.py @@ -18,7 +18,7 @@ class Article(models.Model): author = models.ForeignKey(Author, models.SET_NULL, null=True) class Meta: - ordering = ['author__name'] + ordering = ["author__name"] # These following 4 models represent a far more complex ordering case. @@ -41,4 +41,4 @@ class Comment(models.Model): comment_text = models.CharField(max_length=250) class Meta: - ordering = ['post__forum__system_info__system_name', 'comment_text'] + ordering = ["post__forum__system_info__system_name", "comment_text"] |
