Browse Source

Add visit choices.

feature/python-error-tracking
Drew Larson 9 years ago
parent
commit
5385437203
  1. 10
      bikeshop_project/core/models.py

10
bikeshop_project/core/models.py

@ -41,11 +41,13 @@ class Payment(models.Model):
class Visit(models.Model): class Visit(models.Model):
visit_choices = ( visit_choices = (
('VOLUNTEER', 'volunteer'), ('VOLUNTEER', 'volunteer'),
('WORK', 'work on bike'), # fix ('FIX', 'fix bike'), # fix
('WORKSHOP', 'workshop') ('WORKSHOP', 'workshop'),
# Visit ('VISIT', 'visit'),
# Donation ('DONATE', 'donate'),
('STAFF', 'staff'),
) )
member = models.ForeignKey( member = models.ForeignKey(
'registration.Member', 'registration.Member',
on_delete=models.CASCADE on_delete=models.CASCADE

Loading…
Cancel
Save