mirror of
https://github.com/graphql-python/graphene-django.git
synced 2024-11-22 17:47:12 +03:00
Restore django filter check
This commit is contained in:
parent
1a04d608ed
commit
7888fa76fb
|
@ -11,8 +11,11 @@ class LazyList(object):
|
|||
pass
|
||||
|
||||
|
||||
import django_filters # noqa
|
||||
DJANGO_FILTER_INSTALLED = True
|
||||
try:
|
||||
import django_filters # noqa
|
||||
DJANGO_FILTER_INSTALLED = True
|
||||
except ImportError:
|
||||
DJANGO_FILTER_INSTALLED = False
|
||||
|
||||
|
||||
def get_reverse_fields(model, local_field_names):
|
||||
|
|
Loading…
Reference in New Issue
Block a user