rest_framework_json_api.settings module

This module provides the json_api_settings object that is used to access JSON API REST framework settings, checking for user settings first, then falling back to the defaults.

class rest_framework_json_api.settings.JSONAPISettings(user_settings=<LazySettings "example.settings">, defaults={'FORMAT_FIELD_NAMES': False, 'FORMAT_TYPES': False, 'PLURALIZE_TYPES': False, 'UNIFORM_EXCEPTIONS': False})

Bases: object

A settings object that allows json api settings to be access as properties.

rest_framework_json_api.settings.reload_json_api_settings(*args, **kwargs)