From a8fdc78b14641d64bef2fd4295ab82dc4632f4d5 Mon Sep 17 00:00:00 2001
From: Todd Dembrey <todd.dembrey@torchbox.com>
Date: Thu, 18 Jan 2018 16:05:00 +0000
Subject: [PATCH] Move the base_form_class back to where it was

---
 opentech/apply/funds/models.py | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/opentech/apply/funds/models.py b/opentech/apply/funds/models.py
index c838f18df..79d22cff7 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
-- 
GitLab