Преглед на файлове

11297 have custom field form display content-type instead of model

Arthur преди 3 години
родител
ревизия
98f57f2dba
променени са 1 файла, в които са добавени 0 реда и са изтрити 1 реда
  1. 0 1
      netbox/extras/forms/model_forms.py

+ 0 - 1
netbox/extras/forms/model_forms.py

@@ -32,7 +32,6 @@ class CustomFieldForm(BootstrapMixin, forms.ModelForm):
     content_types = ContentTypeMultipleChoiceField(
         queryset=ContentType.objects.all(),
         limit_choices_to=FeatureQuery('custom_fields'),
-        label=_('Model(s)')
     )
     object_type = ContentTypeChoiceField(
         queryset=ContentType.objects.all(),