Changed __str__ repr of Vouchers.

This commit is contained in:
Marcus Scholz 2020-09-18 20:30:25 +02:00
parent 86915f6ec5
commit 715e953182

View File

@ -107,7 +107,7 @@ class Voucher(models.Model):
expires_when = models.DateTimeField()
def __str__(self):
return "Voucher " + str(self.code)
return "Voucher " + str(self.pk)
class Place(Submittable, Taggable, Mapable):