diff --git a/opentech/apply/funds/models.py b/opentech/apply/funds/models.py index c838f18df8798013595c86319658897654a96cf3..79d22cff7dec20dab08165b5e69f70f4a1534e14 100644 --- a/opentech/apply/funds/models.py +++ b/opentech/apply/funds/models.py @@ -27,6 +27,8 @@ class FundType(AbstractStreamForm): parent_page_types = ['apply_home.ApplyHomePage'] subpage_types = ['funds.Round'] + base_form_class = WorkflowFormAdminForm + WORKFLOWS = { 'single': SingleStage.name, 'double': DoubleStage.name, @@ -34,9 +36,6 @@ class FundType(AbstractStreamForm): workflow = models.CharField(choices=WORKFLOWS.items(), max_length=100, default='single') - - base_form_class = WorkflowFormAdminForm - def get_defined_fields(self): # Only return the first form, will need updating for when working with 2 stage WF return self.forms.all()[0].fields