ucsschool.http_api.import_api package

Submodules

ucsschool.http_api.import_api.admin module

ucsschool.http_api.import_api.apps module

App registry

class ucsschool.http_api.import_api.apps.HttpApiConfig(app_name, app_module)[source]

Bases: django.apps.config.AppConfig

name = 'import_api'
verbose_name = 'UCS@school import API'

ucsschool.http_api.import_api.constants module

Constants

ucsschool.http_api.import_api.http_api_import_frontend module

ucsschool.http_api.import_api.import_logging module

ucsschool.http_api.import_api.models module

ucsschool.http_api.import_api.serializers module

ucsschool.http_api.import_api.tasks module

ucsschool.http_api.import_api.utils module

Diverse helper functions.

ucsschool.http_api.import_api.utils.get_wsgi_user_group()[source]

Get the username and group name of the WSGI process in which the HTTP-API runs.

Returns

tuple with username and group name

Return type

tuple(str, str)

ucsschool.http_api.import_api.utils.get_wsgi_uid_gid()[source]

Get the UID and GID of the WSGI process in which the HTTP-API runs.

Returns

tuple with UID and GID

Return type

tuple(int, int)

ucsschool.http_api.import_api.views module