Skip to content

Commit 5920b6b

Browse files
author
Ernesto Perez Amigo
committed
Fixed error with JSONField reference on Django==1.8.x installations
1 parent 0237563 commit 5920b6b

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

graphene_django_extras/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
from .paginations import LimitOffsetGraphqlPagination, PageGraphqlPagination, CursorGraphqlPagination
88
from .types import DjangoObjectType, DjangoInputObjectType, DjangoListObjectType, DjangoSerializerType
99

10-
VERSION = (0, 1, 0, 'final', '')
10+
VERSION = (0, 1, 1, 'final', '')
1111

1212
__version__ = get_version(VERSION)
1313

graphene_django_extras/converter.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,9 @@
99
from graphene.types.datetime import DateTime, Time
1010
from graphene.types.json import JSONString
1111
from graphene.utils.str_converters import to_camel_case, to_const
12-
from graphene_django.compat import ArrayField, HStoreField, RangeField
12+
from graphene_django.compat import ArrayField, HStoreField, RangeField, JSONField
1313
from graphene_django.fields import DjangoListField
1414
from graphene_django.utils import import_single_dispatch
15-
from rest_framework.fields import JSONField
1615
from rest_framework.compat import get_related_model
1716

1817
from .fields import DjangoFilterListField

0 commit comments

Comments
 (0)