implement copying of WFJT objects

This commit is contained in:
AlanCoding
2016-11-12 21:06:54 -05:00
parent 266d29936d
commit 14ce50c845
11 changed files with 228 additions and 112 deletions

View File

@@ -79,6 +79,10 @@ class SurveyJobTemplateMixin(models.Model):
default={},
)
@classmethod
def _get_unified_jt_copy_names(cls):
return cls._get_unified_job_field_names() + ['survey_spec', 'survey_enabled']
def survey_password_variables(self):
vars = []
if self.survey_enabled and 'spec' in self.survey_spec: