mirror of
https://github.com/graphql-python/graphene-django.git
synced 2025-07-13 17:52:19 +03:00
fixed init
This commit is contained in:
parent
d84793184f
commit
2a82f2bead
|
@ -43,13 +43,11 @@ def init_midleware():
|
|||
DEFAULTS["MIDDLEWARE"] += ("graphene_django.debug.DjangoDebugMiddleware",)
|
||||
|
||||
|
||||
try:
|
||||
init_midleware()
|
||||
except Exception:
|
||||
if not settings.configured:
|
||||
settings.configure()
|
||||
finally:
|
||||
init_midleware()
|
||||
# try:
|
||||
# init_midleware()
|
||||
# except Exception:
|
||||
# if not settings.configured:
|
||||
# settings.configure()
|
||||
|
||||
|
||||
|
||||
|
|
4
setup.py
4
setup.py
|
@ -57,8 +57,8 @@ setup(
|
|||
"promise>=2.1",
|
||||
"lazy-import==0.2.2",
|
||||
"neomodel-next>=3.3.0",
|
||||
"django-filter @ git+https://github.com/MardanovTimur/django-filter@neomodel#egg=foo-9999",
|
||||
"graphene @ git+https://github.com/MardanovTimur/graphene@master#eqq-123",
|
||||
# "django-filter @ git+https://github.com/MardanovTimur/django-filter@neomodel#egg=foo-9999",
|
||||
# "graphene @ git+https://github.com/MardanovTimur/graphene@master#eqq-123",
|
||||
],
|
||||
setup_requires=["pytest-runner"],
|
||||
tests_require=tests_require,
|
||||
|
|
Loading…
Reference in New Issue
Block a user