Fix score __str__ bug

This commit is contained in:
Tanner Collin 2022-11-16 12:19:15 +00:00
parent 008be53be3
commit 55886eeec9

View File

@ -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)