Skip to content

Commit 2edf7f4

Browse files
committed
Correct examples/cookbook settings.py.
See #455.
1 parent 96908be commit 2edf7f4

File tree

2 files changed

+2
-10
lines changed

2 files changed

+2
-10
lines changed

examples/cookbook-plain/cookbook/settings.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@
5656

5757
GRAPHENE = {
5858
'SCHEMA': 'cookbook.schema.schema',
59+
'SCHEMA_INDENT': 2,
5960
'MIDDLEWARE': (
6061
'graphene_django.debug.DjangoDebugMiddleware',
6162
)
@@ -130,8 +131,3 @@
130131
# https://docs.djangoproject.com/en/1.9/howto/static-files/
131132

132133
STATIC_URL = '/static/'
133-
134-
GRAPHENE = {
135-
'SCHEMA': 'cookbook.schema.schema',
136-
'SCHEMA_INDENT': 2,
137-
}

examples/cookbook/cookbook/settings.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@
5757

5858
GRAPHENE = {
5959
'SCHEMA': 'cookbook.schema.schema',
60+
'SCHEMA_INDENT': 2,
6061
'MIDDLEWARE': (
6162
'graphene_django.debug.DjangoDebugMiddleware',
6263
)
@@ -131,8 +132,3 @@
131132
# https://docs.djangoproject.com/en/1.9/howto/static-files/
132133

133134
STATIC_URL = '/static/'
134-
135-
GRAPHENE = {
136-
'SCHEMA': 'cookbook.schema.schema',
137-
'SCHEMA_INDENT': 2,
138-
}

0 commit comments

Comments
 (0)