summaryrefslogtreecommitdiff
path: root/tests/transaction_hooks
diff options
context:
space:
mode:
authorAuthor: Mads Jensen <mje@inducks.org>2020-01-22 15:05:56 +0100
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2020-04-15 20:20:32 +0200
commit6461583b6cc257d25880ef9a9fd7e2125ac53ce1 (patch)
treebbade5fb7117ac74da58e8f78b51cd7136a34b21 /tests/transaction_hooks
parentf1a808a5025b63715d1034af2b96a6a5241d29e9 (diff)
downloaddjango-6461583b6cc257d25880ef9a9fd7e2125ac53ce1.tar.gz
Removed unused __str__() methods in tests models.
Co-Authored-By: Mariusz Felisiak <felisiak.mariusz@gmail.com> Co-Authored-By: Hasan Ramezani <hasan.r67@gmail.com>
Diffstat (limited to 'tests/transaction_hooks')
-rw-r--r--tests/transaction_hooks/models.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/transaction_hooks/models.py b/tests/transaction_hooks/models.py
index d3abbfef91..000fd71ca2 100644
--- a/tests/transaction_hooks/models.py
+++ b/tests/transaction_hooks/models.py
@@ -3,6 +3,3 @@ from django.db import models
class Thing(models.Model):
num = models.IntegerField()
-
- def __str__(self):
- return "Thing %d" % self.num