config schema generation in cookbook example

This commit is contained in:
cph 2016-10-17 15:08:43 +08:00
parent 62d3eb911a
commit cf7d8ffcd6

View File

@ -130,3 +130,8 @@ USE_TZ = True
# https://docs.djangoproject.com/en/1.9/howto/static-files/
STATIC_URL = '/static/'
GRAPHENE = {
'SCHEMA': 'cookbook.schema.schema',
'SCHEMA_INDENT': 2,
}