|
|
@@ -31,7 +31,7 @@ from .nested_serializers import *
|
|
|
class CustomFieldSerializer(ValidatedModelSerializer):
|
|
|
url = serializers.HyperlinkedIdentityField(view_name='extras-api:customfield-detail')
|
|
|
content_types = ContentTypeField(
|
|
|
- queryset=ContentType.objects.filter(FeatureQuery('export_templates').get_query()),
|
|
|
+ queryset=ContentType.objects.filter(FeatureQuery('custom_fields').get_query()),
|
|
|
many=True
|
|
|
)
|
|
|
type = ChoiceField(choices=CustomFieldTypeChoices)
|