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

Introduce ContentTypesColumn for custom field and webhook tables

This commit is contained in:
jeremystretch
2021-08-26 12:55:37 -04:00
parent 58203dbcfa
commit 94b8d36065
3 changed files with 22 additions and 8 deletions

View File

@@ -35,7 +35,6 @@ class CustomField(ChangeLoggedModel):
content_types = models.ManyToManyField(
to=ContentType,
related_name='custom_fields',
verbose_name='Object(s)',
limit_choices_to=FeatureQuery('custom_fields'),
help_text='The object(s) to which this field applies.'
)