Django Settings

Certain features of this library are configured using custom Django settings .

STRAWBERRY_DJANGO

A dictionary with the following optional keys:

These features can be enabled by adding this code to your settings.py file, like:

settings.py
STRAWBERRY_DJANGO = {
"FIELD_DESCRIPTION_FROM_HELP_TEXT": True,
"TYPE_DESCRIPTION_FROM_MODEL_DOCSTRING": True,
"MUTATIONS_DEFAULT_ARGUMENT_NAME": "input",
"MUTATIONS_DEFAULT_HANDLE_ERRORS": True,
"GENERATE_ENUMS_FROM_CHOICES": False,
"MAP_AUTO_ID_AS_GLOBAL_ID": True,
"DEFAULT_PK_FIELD_NAME": "id",
"PAGINATION_DEFAULT_LIMIT": 250,
}