summaryrefslogtreecommitdiff
path: root/tests/update
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/update
parentf1a808a5025b63715d1034af2b96a6a5241d29e9 (diff)
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/update')
-rw-r--r--tests/update/models.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/tests/update/models.py b/tests/update/models.py
index b56dd2258e..7861987604 100644
--- a/tests/update/models.py
+++ b/tests/update/models.py
@@ -11,17 +11,11 @@ class DataPoint(models.Model):
value = models.CharField(max_length=20)
another_value = models.CharField(max_length=20, blank=True)
- def __str__(self):
- return self.name
-
class RelatedPoint(models.Model):
name = models.CharField(max_length=20)
data = models.ForeignKey(DataPoint, models.CASCADE)
- def __str__(self):
- return self.name
-
class A(models.Model):
x = models.IntegerField(default=10)