Skip to content

Commit cf7d8ff

Browse files
committed
config schema generation in cookbook example
1 parent 62d3eb9 commit cf7d8ff

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

examples/cookbook/cookbook/settings.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,3 +130,8 @@
130130
# https://docs.djangoproject.com/en/1.9/howto/static-files/
131131

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

0 commit comments

Comments
 (0)