feat(config_management): ConfigGroupHosts and ConfigGroupSoftware do not require notes
ref: #804 #793 #794
This commit is contained in:
@ -0,0 +1,27 @@
|
||||
# Generated by Django 5.1.9 on 2025-06-07 08:17
|
||||
|
||||
from django.db import migrations
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
("config_management", "0014_alter_configgrouphosts_group_and_more"),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.RemoveField(
|
||||
model_name="configgroupsoftwarecenturionmodelnote",
|
||||
name="centurionmodelnote_ptr",
|
||||
),
|
||||
migrations.RemoveField(
|
||||
model_name="configgroupsoftwarecenturionmodelnote",
|
||||
name="model",
|
||||
),
|
||||
migrations.DeleteModel(
|
||||
name="ConfigGroupHostsCenturionModelNote",
|
||||
),
|
||||
migrations.DeleteModel(
|
||||
name="ConfigGroupSoftwareCenturionModelNote",
|
||||
),
|
||||
]
|
@ -335,6 +335,8 @@ class ConfigGroupHosts(
|
||||
CenturionModel,
|
||||
):
|
||||
|
||||
_notes_enabled = False
|
||||
|
||||
|
||||
def validate_host_no_parent_group(self):
|
||||
""" Ensure that the host is not within any parent group
|
||||
@ -390,6 +392,8 @@ class ConfigGroupSoftware(
|
||||
):
|
||||
""" A way to configure software to install/remove per config group """
|
||||
|
||||
_notes_enabled = False
|
||||
|
||||
class Meta:
|
||||
|
||||
ordering = [
|
||||
|
Reference in New Issue
Block a user