Fix score __str__ bug
This commit is contained in:
parent
008be53be3
commit
55886eeec9
|
@ -248,7 +248,7 @@ class PinballScore(models.Model):
|
|||
|
||||
MY_FIELDS = ['started_at', 'game_id', 'player', 'score']
|
||||
def __str__(self):
|
||||
return self.started_at
|
||||
return str(self.started_at)
|
||||
|
||||
class HistoryIndex(models.Model):
|
||||
content_type = models.ForeignKey(ContentType, null=True, on_delete=models.SET_NULL)
|
||||
|
|
Loading…
Reference in New Issue
Block a user