summaryrefslogtreecommitdiff
path: root/tests/ordering
diff options
context:
space:
mode:
authorMariusz Felisiak <felisiak.mariusz@gmail.com>2020-04-30 09:13:23 +0200
committerGitHub <noreply@github.com>2020-04-30 09:13:23 +0200
commit555e3a848e7ac13580371c7eafbc89195fee6ea9 (patch)
treef3db796d8b7c9764d77da9444b4ca30150e6d65d /tests/ordering
parentbb13711451157d5081c2d2a297820f6bc131ac27 (diff)
Removed unused __str__() methods in tests models.
Follow up to 6461583b6cc257d25880ef9a9fd7e2125ac53ce1.
Diffstat (limited to 'tests/ordering')
-rw-r--r--tests/ordering/models.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/ordering/models.py b/tests/ordering/models.py
index f5a237fe45..2efb743e44 100644
--- a/tests/ordering/models.py
+++ b/tests/ordering/models.py
@@ -37,9 +37,6 @@ class Article(models.Model):
models.OrderBy(models.F('second_author__name')),
)
- def __str__(self):
- return self.headline
-
class OrderedByAuthorArticle(Article):
class Meta: