summaryrefslogtreecommitdiff
path: root/workshop_app/forms.py
diff options
context:
space:
mode:
authorpnshiralkar2020-04-28 16:03:15 +0530
committerpnshiralkar2020-04-28 16:03:15 +0530
commit1c2d985348f11d35c915c193f8b514a0445b6723 (patch)
tree6e9f86b2308086e7d86f8163e4ef537c3dd83d2a /workshop_app/forms.py
parentce04a86556bbbf95851de528d7a74acbc30fc1fb (diff)
downloadworkshop_booking-1c2d985348f11d35c915c193f8b514a0445b6723.tar.gz
workshop_booking-1c2d985348f11d35c915c193f8b514a0445b6723.tar.bz2
workshop_booking-1c2d985348f11d35c915c193f8b514a0445b6723.zip
Refractored models, refractores Propose Workshop view
Diffstat (limited to 'workshop_app/forms.py')
-rw-r--r--workshop_app/forms.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/workshop_app/forms.py b/workshop_app/forms.py
index 1bddada..ba21c6b 100644
--- a/workshop_app/forms.py
+++ b/workshop_app/forms.py
@@ -156,7 +156,7 @@ class CreateWorkshop(forms.ModelForm):
class Meta:
model = Workshop
- fields = ['title']
+ fields = ['workshop_type']
# debug : Changed this
@@ -171,7 +171,7 @@ class WorkshopForm(forms.ModelForm):
super(WorkshopForm, self).__init__(*args, **kwargs)
self.fields['tnc_accepted'].label = ""
self.fields['tnc_accepted'].required = True
- self.fields['title'].label = "Workshop :"
+ self.fields['workshop_type'].label = "Workshop :"
self.fields['date'].label = "Workshop Date :"
class Meta: