1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Closes #15547: Add comments field to CustomField model

This commit is contained in:
Jeremy Stretch
2024-04-19 14:50:42 -04:00
parent 824d66a54c
commit 0f0ab1a3be
10 changed files with 44 additions and 10 deletions

View File

@ -205,6 +205,10 @@ class CustomField(CloningMixin, ExportTemplatesMixin, ChangeLoggedModel):
verbose_name=_('is cloneable'),
help_text=_('Replicate this value when cloning objects')
)
comments = models.TextField(
verbose_name=_('comments'),
blank=True
)
objects = CustomFieldManager()