Skip to content
Snippets Groups Projects
Commit 160bc523 authored by Parbhat Puri's avatar Parbhat Puri Committed by Fredrik Jonsson
Browse files

remove copied code

parent 6765f427
No related branches found
No related tags found
No related merge requests found
......@@ -7,12 +7,6 @@ class WorkflowFormAdminForm(WagtailAdminPageForm):
def clean(self):
cleaned_data = super().clean()
start_date = cleaned_data['start_date']
print(start_date)
if start_date is None:
print('Hola')
self.add_error('start_date', 'Please enter start date.')
workflow = WORKFLOWS[cleaned_data['workflow_name']]
application_forms = self.formsets['forms']
review_forms = self.formsets['review_forms']
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment