We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 02c9f89 commit 4308345Copy full SHA for 4308345
django_custom_jsonfield/rest_framework/__init__.py
@@ -0,0 +1 @@
1
+from .openapi import CustomJSONFieldSerializerExtension
django_custom_jsonfield/rest_framework/openapi.py
@@ -9,7 +9,7 @@
9
10
11
class CustomJSONFieldSerializerExtension(OpenApiSerializerFieldExtension):
12
- target_class = "django_custom_jsonfield.serializers.CustomJSONField"
+ target_class = "django_custom_jsonfield.rest_framework.serializers.CustomJSONField"
13
14
def map_serializer_field(self, auto_schema, direction):
15
schema = self.target.schema
0 commit comments