class documentation
class APISettings: (source)
A settings object that allows REST Framework settings to be accessed as properties. For example: from rest_framework.settings import api_settings print(api_settings.DEFAULT_RENDERER_CLASSES) Any setting with string import paths will be automatically resolved and return the class, rather than the string literal. Note: This is an internal class that is only compatible with settings namespaced under the REST_FRAMEWORK name. It is not intended to be used by 3rd-party apps, and test helpers like `override_settings` may not work as expected.
Method | __getattr__ |
Undocumented |
Method | __init__ |
Undocumented |
Method | reload |
Undocumented |
Instance Variable | defaults |
Undocumented |
Instance Variable | import |
Undocumented |
Property | user |
Undocumented |
Method | __check |
Undocumented |
Instance Variable | _cached |
Undocumented |
Instance Variable | _user |
Undocumented |