Merge pull request #6951 from rooftopcellist/diff_help_text

Add help_text for diff mode
This commit is contained in:
Christian Adams 2017-07-12 14:57:00 -04:00 committed by GitHub
commit e6c004babb
2 changed files with 11 additions and 10 deletions

View File

@ -331,16 +331,6 @@ class Migration(migrations.Migration):
name='timeout',
field=models.IntegerField(default=0, help_text='The amount of time (in seconds) to run before the task is canceled.', blank=True),
),
migrations.AddField(
model_name='job',
name='diff_mode',
field=models.BooleanField(default=False),
),
migrations.AddField(
model_name='jobtemplate',
name='diff_mode',
field=models.BooleanField(default=False),
),
migrations.AddField(
model_name='adhoccommand',
name='diff_mode',
@ -351,4 +341,14 @@ class Migration(migrations.Migration):
name='ask_diff_mode_on_launch',
field=models.BooleanField(default=False),
),
migrations.AlterField(
model_name='job',
name='diff_mode',
field=models.BooleanField(default=False, help_text='If enabled, textual changes made to any templated files on the host are shown in the standard output'),
),
migrations.AlterField(
model_name='jobtemplate',
name='diff_mode',
field=models.BooleanField(default=False, help_text='If enabled, textual changes made to any templated files on the host are shown in the standard output'),
),
]

View File

@ -62,6 +62,7 @@ class JobOptions(BaseModel):
diff_mode = models.BooleanField(
default=False,
help_text=_("If enabled, textual changes made to any templated files on the host are shown in the standard output"),
)
job_type = models.CharField(
max_length=64,