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

Closes #5848: Filter custom fields by content type in format <app_label>.<model>

This commit is contained in:
jeremystretch
2021-04-13 11:30:45 -04:00
parent a296a9e109
commit e5602abee0
2 changed files with 2 additions and 0 deletions

View File

@ -90,6 +90,7 @@ class CustomFieldModelFilterSet(django_filters.FilterSet):
class CustomFieldFilterSet(django_filters.FilterSet):
content_types = ContentTypeFilter()
class Meta:
model = CustomField