ska Package
backends Module
conf Module
-
ska.contrib.django.ska.conf.get_setting(setting, override=None)[source]
Get a setting from ska.contrib.django.ska 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”.
- USER_GET_CALLBACK (str): User get callback (when user is fetched in auth backend).
- USER_CREATE_CALLBACK (str): User create callback (when user is created in auth backend).
- USER_INFO_CALLBACK (str): User info callback.
- REDIRECT_AFTER_LOGIN (str): Redirect after login.
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
urls Module
views Module