Make sure we notify vars_update_on_launch from job details

This commit is contained in:
Matthew Jones
2014-05-12 13:11:43 -04:00
parent 5e484b2503
commit 22984f91cc
3 changed files with 7 additions and 1 deletions

View File

@@ -230,6 +230,10 @@ class Job(UnifiedJob, JobOptions):
h = hmac.new(settings.SECRET_KEY, self.created.isoformat())
return '%d-%s' % (self.pk, h.hexdigest())
@property
def vars_prompt_on_launch(self):
return self.job_template.vars_prompt_on_launch
@property
def passwords_needed_to_start(self):
'''Return list of password field names needed to start the job.'''