diff options
author | Author: Mads Jensen <mje@inducks.org> | 2020-01-22 15:05:56 +0100 |
---|---|---|
committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2020-04-15 20:20:32 +0200 |
commit | 6461583b6cc257d25880ef9a9fd7e2125ac53ce1 (patch) | |
tree | bbade5fb7117ac74da58e8f78b51cd7136a34b21 /tests/validation | |
parent | f1a808a5025b63715d1034af2b96a6a5241d29e9 (diff) | |
download | django-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/validation')
-rw-r--r-- | tests/validation/models.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/validation/models.py b/tests/validation/models.py index e8e18cfbce..47fb895ec5 100644 --- a/tests/validation/models.py +++ b/tests/validation/models.py @@ -94,9 +94,6 @@ class Post(models.Model): subtitle = models.CharField(max_length=50, unique_for_month='posted', blank=True) posted = models.DateField() - def __str__(self): - return self.name - class FlexibleDatePost(models.Model): title = models.CharField(max_length=50, unique_for_date='posted', blank=True) |