diff options
| author | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2020-04-30 09:13:23 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-04-30 09:13:23 +0200 |
| commit | 555e3a848e7ac13580371c7eafbc89195fee6ea9 (patch) | |
| tree | f3db796d8b7c9764d77da9444b4ca30150e6d65d /tests/get_or_create | |
| parent | bb13711451157d5081c2d2a297820f6bc131ac27 (diff) | |
| download | django-555e3a848e7ac13580371c7eafbc89195fee6ea9.tar.gz | |
Removed unused __str__() methods in tests models.
Follow up to 6461583b6cc257d25880ef9a9fd7e2125ac53ce1.
Diffstat (limited to 'tests/get_or_create')
| -rw-r--r-- | tests/get_or_create/models.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/get_or_create/models.py b/tests/get_or_create/models.py index 6510bb9464..f00d9c4d38 100644 --- a/tests/get_or_create/models.py +++ b/tests/get_or_create/models.py @@ -7,9 +7,6 @@ class Person(models.Model): birthday = models.DateField() defaults = models.TextField() - def __str__(self): - return '%s %s' % (self.first_name, self.last_name) - class DefaultPerson(models.Model): first_name = models.CharField(max_length=100, default="Anonymous") |
