From 5385437203f9f5daaa0fa08738c8ccae05d7ce51 Mon Sep 17 00:00:00 2001 From: Drew Larson Date: Sun, 10 Apr 2016 12:22:25 -0600 Subject: [PATCH] Add visit choices. --- bikeshop_project/core/models.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/bikeshop_project/core/models.py b/bikeshop_project/core/models.py index dfd9bdb..718debc 100644 --- a/bikeshop_project/core/models.py +++ b/bikeshop_project/core/models.py @@ -41,11 +41,13 @@ class Payment(models.Model): class Visit(models.Model): visit_choices = ( ('VOLUNTEER', 'volunteer'), - ('WORK', 'work on bike'), # fix - ('WORKSHOP', 'workshop') - # Visit - # Donation + ('FIX', 'fix bike'), # fix + ('WORKSHOP', 'workshop'), + ('VISIT', 'visit'), + ('DONATE', 'donate'), + ('STAFF', 'staff'), ) + member = models.ForeignKey( 'registration.Member', on_delete=models.CASCADE