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/annotations | |
| parent | bb13711451157d5081c2d2a297820f6bc131ac27 (diff) | |
Removed unused __str__() methods in tests models.
Follow up to 6461583b6cc257d25880ef9a9fd7e2125ac53ce1.
Diffstat (limited to 'tests/annotations')
| -rw-r--r-- | tests/annotations/models.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/tests/annotations/models.py b/tests/annotations/models.py index c8fbe17792..500240df9b 100644 --- a/tests/annotations/models.py +++ b/tests/annotations/models.py @@ -54,11 +54,6 @@ class Company(models.Model): ticker_name = models.CharField(max_length=10, null=True, blank=True) description = models.CharField(max_length=200, null=True, blank=True) - def __str__(self): - return 'Company(name=%s, motto=%s, ticker_name=%s, description=%s)' % ( - self.name, self.motto, self.ticker_name, self.description, - ) - class Ticket(models.Model): active_at = models.DateTimeField() |
