Mark inventory source field for deprecation

This commit is contained in:
Alan Rominger 2022-03-31 13:30:07 -04:00
parent bbb9770a97
commit 5a304db840
No known key found for this signature in database
GPG Key ID: C2D7EAAA12B63559
2 changed files with 25 additions and 0 deletions

View File

@ -0,0 +1,21 @@
# Generated by Django 3.2.12 on 2022-03-31 17:28
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('main', '0158_make_instance_cpu_decimal'),
]
operations = [
migrations.AlterField(
model_name='inventorysource',
name='update_on_project_update',
field=models.BooleanField(
default=False,
help_text='This field is deprecated and will be removed in a future release. In future release, functionality will be migrated to source project update_on_launch.',
),
),
]

View File

@ -993,6 +993,10 @@ class InventorySource(UnifiedJobTemplate, InventorySourceOptions, CustomVirtualE
)
update_on_project_update = models.BooleanField(
default=False,
help_text=_(
'This field is deprecated and will be removed in a future release. '
'In future release, functionality will be migrated to source project update_on_launch.'
),
)
update_on_launch = models.BooleanField(
default=False,