Changed __str__ repr of Vouchers.
This commit is contained in:
parent
86915f6ec5
commit
715e953182
@ -107,7 +107,7 @@ class Voucher(models.Model):
|
|||||||
expires_when = models.DateTimeField()
|
expires_when = models.DateTimeField()
|
||||||
|
|
||||||
def __str__(self):
|
def __str__(self):
|
||||||
return "Voucher " + str(self.code)
|
return "Voucher " + str(self.pk)
|
||||||
|
|
||||||
|
|
||||||
class Place(Submittable, Taggable, Mapable):
|
class Place(Submittable, Taggable, Mapable):
|
||||||
|
Loading…
Reference in New Issue
Block a user