Merge pull request #642 from changeling/fix_cookbook_settings

Correct examples/cookbook settings.py.
This commit is contained in:
Paul Hallett 2019-05-16 09:09:26 +01:00 committed by GitHub
commit 74263b2eb1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 10 deletions

View File

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

View File

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