1. Colin Copeland
  2. django-eventbrite

Commits

glassresistor  committed d24073c

Switch barcode from integer to commaseperated integers for the case where more than 1 ticket is baught

  • Participants
  • Parent commits 95fbef0
  • Branches default

Comments (0)

Files changed (1)

File eventbrite/models.py

View file
  • Ignore whitespace
     
 class Attendee(models.Model):
     amount_paid = models.DecimalField(decimal_places=2, max_digits=5, blank=False)
-    barcode = models.PositiveIntegerField(blank=False)
+    barcode = models.CommaSeparatedIntegerField(max_length=200,blank=False)
     created = models.DateTimeField(blank=False)
     currency = models.CharField(max_length=4, blank=False)
     discount = models.CharField(max_length=20,)