fix graphene settings bug

This commit is contained in:
cph 2016-10-20 16:48:06 +08:00
parent d348ec89c5
commit fcd483db31

View File

@ -56,6 +56,7 @@ MIDDLEWARE_CLASSES = [
GRAPHENE = {
'SCHEMA': 'cookbook.schema.schema',
'SCHEMA_INDENT': 2,
'MIDDLEWARE': (
'graphene_django.debug.DjangoDebugMiddleware',
)
@ -130,8 +131,3 @@ USE_TZ = True
# https://docs.djangoproject.com/en/1.9/howto/static-files/
STATIC_URL = '/static/'
GRAPHENE = {
'SCHEMA': 'cookbook.schema.schema',
'SCHEMA_INDENT': 2,
}