diff --git a/awx/main/migrations/0038_v320_release.py b/awx/main/migrations/0038_v320_release.py index 3a4191e913..a5daccebc2 100644 --- a/awx/main/migrations/0038_v320_release.py +++ b/awx/main/migrations/0038_v320_release.py @@ -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'), + ), ] diff --git a/awx/main/models/jobs.py b/awx/main/models/jobs.py index 114d47af0f..a32cb1dae8 100644 --- a/awx/main/models/jobs.py +++ b/awx/main/models/jobs.py @@ -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,