add help_text to do_not_run workflow field

This commit is contained in:
chris meyers 2018-11-20 11:44:07 -05:00 committed by mabashian
parent 2eeca3cfd7
commit d8bf82a8cb
2 changed files with 5 additions and 2 deletions

View File

@ -15,6 +15,6 @@ class Migration(migrations.Migration):
migrations.AddField(
model_name='workflowjobnode',
name='do_not_run',
field=models.BooleanField(default=False),
field=models.BooleanField(default=False, help_text='Indidcates that a job will not be created when True. Workflow runtime semantics will mark this True if the node is in a path that will decidedly not be ran. A value of False means the node may not run.'),
),
]

View File

@ -185,7 +185,10 @@ class WorkflowJobNode(WorkflowNodeBase):
editable=False,
)
do_not_run = models.BooleanField(
default=False
default=False,
help_text=_("Indidcates that a job will not be created when True. Workflow runtime "
"semantics will mark this True if the node is in a path that will "
"decidedly not be ran. A value of False means the node may not run."),
)
def get_absolute_url(self, request=None):