Changed __str__ repr of Vouchers.
This commit is contained in:
@@ -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):
|
||||
|
Reference in New Issue
Block a user