|
@ -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 |
|
|