Skip to content

Commit 99e8993

Browse files
committed
Refactor
1 parent 4da4cd6 commit 99e8993

File tree

6 files changed

+4
-3
lines changed

6 files changed

+4
-3
lines changed

django_custom_jsonfield/__init__.py

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
from .fields import CustomJSONField

django_custom_jsonfield/rest_framework/__init__.py

Whitespace-only changes.

tests/test_openapi_schema.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
import pytest
44

5-
from django_custom_jsonfield.openapi import CustomJSONFieldSerializerExtension
6-
from django_custom_jsonfield.serializers import CustomJSONField
5+
from django_custom_jsonfield.rest_framework.openapi import CustomJSONFieldSerializerExtension
6+
from django_custom_jsonfield.rest_framework.serializers import CustomJSONField
77

88

99
@pytest.mark.parametrize(

tests/test_serializer_field.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
from rest_framework import serializers
33
from rest_framework.exceptions import ErrorDetail
44

5-
from django_custom_jsonfield.serializers import CustomJSONField
5+
from django_custom_jsonfield.rest_framework.serializers import CustomJSONField
66

77

88
@pytest.mark.parametrize(

0 commit comments

Comments
 (0)