mirror of
https://github.com/fspc/workstand.git
synced 2025-02-23 09:13:23 -05:00
Add visit choices.
This commit is contained in:
parent
d111c0c515
commit
5385437203
@ -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…
x
Reference in New Issue
Block a user