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",)
|
DEFAULTS["MIDDLEWARE"] += ("graphene_django.debug.DjangoDebugMiddleware",)
|
||||||
|
|
||||||
|
|
||||||
try:
|
# try:
|
||||||
init_midleware()
|
# init_midleware()
|
||||||
except Exception:
|
# except Exception:
|
||||||
if not settings.configured:
|
# if not settings.configured:
|
||||||
settings.configure()
|
# settings.configure()
|
||||||
finally:
|
|
||||||
init_midleware()
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
4
setup.py
4
setup.py
|
@ -57,8 +57,8 @@ setup(
|
||||||
"promise>=2.1",
|
"promise>=2.1",
|
||||||
"lazy-import==0.2.2",
|
"lazy-import==0.2.2",
|
||||||
"neomodel-next>=3.3.0",
|
"neomodel-next>=3.3.0",
|
||||||
"django-filter @ git+https://github.com/MardanovTimur/django-filter@neomodel#egg=foo-9999",
|
# "django-filter @ git+https://github.com/MardanovTimur/django-filter@neomodel#egg=foo-9999",
|
||||||
"graphene @ git+https://github.com/MardanovTimur/graphene@master#eqq-123",
|
# "graphene @ git+https://github.com/MardanovTimur/graphene@master#eqq-123",
|
||||||
],
|
],
|
||||||
setup_requires=["pytest-runner"],
|
setup_requires=["pytest-runner"],
|
||||||
tests_require=tests_require,
|
tests_require=tests_require,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user