From e2844dbafdfeaa6bd0be0096230c7900521f26b3 Mon Sep 17 00:00:00 2001 From: sprhawk <465558+sprhawk@users.noreply.github.com> Date: Sun, 16 Jun 2019 15:18:28 +0800 Subject: [PATCH] fix compat fields --- graphene_django/compat.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/graphene_django/compat.py b/graphene_django/compat.py index f20f126..a32c8d9 100644 --- a/graphene_django/compat.py +++ b/graphene_django/compat.py @@ -18,4 +18,6 @@ try: DecimalRangeField ) except ImportError: - ArrayField, HStoreField, JSONField, RangeField = (MissingType,) * 4 + ArrayField, HStoreField, JSONField, RangeField, \ + DateTimeRangeField, DateRangeField, IntegerRangeField, \ + BigIntegerRangeField, FloatRangeField, DecimalRangeField = (MissingType,) * 10