diff --git a/pages/docs/django/introspection-schema.md b/pages/docs/django/introspection-schema.md index d7ac8f1..44798aa 100644 --- a/pages/docs/django/introspection-schema.md +++ b/pages/docs/django/introspection-schema.md @@ -33,12 +33,16 @@ with Graphene GraphQL implementation. ## Advanced Usage +The `--indent` option can be used to specify the number of indentation spaces to +be used in the output. Defaults to `None` which displays all data on a single line. + To simplify the command to `./manage.py graphql_schema`, you can specify the parameters in your settings.py: ```python GRAPHENE_SCHEMA = 'tutorial.quickstart.schema' GRAPHENE_SCHEMA_OUTPUT = 'data/schema.json' # defaults to schema.json +GRAPHENE_SCHEMA_INDENT = 2 ``` Running `./manage.py graphql_schema` dumps your schema to