ska Package
conf Module
-
ska.contrib.django.ska.conf.get_setting(setting, override=None)[source]
Get a setting from werewolf conf module, falling back to the default.
If override is not None, it will be used instead of the setting.
decorators Module
defaults Module
- UNAUTHORISED_REQUEST_ERROR_MESSAGE (str): Plain text error message. Defaults to “Unauthorised request. {0}”.
- UNAUTHORISED_REQUEST_ERROR_TEMPLATE (str): Path to 401 template that should be rendered in case of 401
responses. Defaults to empty string (not provided).
- AUTH_USER (str): Default auth_user for ska.sign_url function. Defaults to “ska-auth-user”.
exceptions Module
-
exception ska.contrib.django.ska.exceptions.ImproperlyConfigured[source]
Bases: exceptions.Exception
Exception raised when developer didn’t configure the code properly.
settings Module