From 1c2d985348f11d35c915c193f8b514a0445b6723 Mon Sep 17 00:00:00 2001 From: pnshiralkar Date: Tue, 28 Apr 2020 16:03:15 +0530 Subject: Refractored models, refractores Propose Workshop view --- workshop_app/forms.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'workshop_app/forms.py') 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: -- cgit