The ticket types which are presented on the CashPayment are hardcoded in
Views.py. Should make this query the database so that it is more dynamic
and does not require code changes each time a new ticket is added?
See:
reg6/staff/views.py:83
tickets = []
try:
tickets.append(models.Ticket.objects.get(name='7XSVN'))
except:
pass
try:
tickets.append(models.Ticket.objects.get(name='OSSE'))
except:
pass
try:
tickets.append(models.Ticket.objects.get(name='WIOS'))
except:
Original issue reported on code.google.com by i...@fonz.net on 10 Apr 2010 at 6:00
Original issue reported on code.google.com by
i...@fonz.net
on 10 Apr 2010 at 6:00