1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00

Changed '%s' % value pattern to str(value).

This commit is contained in:
Nick Pope
2020-05-01 15:54:15 +01:00
committed by Mariusz Felisiak
parent 7668f9bce9
commit 8f10ceaa90
13 changed files with 36 additions and 35 deletions

View File

@@ -81,7 +81,7 @@ class Time(models.Model):
time = models.TimeField(null=True)
def __str__(self):
return "%s" % self.time
return str(self.time)
class SimulationRun(models.Model):