oioioi.filetracker.client

Module Contents

Functions

get_client()

Constructs a Filetracker client.

_on_setting_changed(sender, setting, **kwargs)

remote_storage_factory()

A filetracker factory which creates a client that uses the

oioioi.filetracker.client.get_client()[source]

Constructs a Filetracker client.

Needs a FILETRACKER_CLIENT_FACTORY entry in settings.py, which should contain a dotted name of a function which returns a filetracker.client.Client instance. A good candidate is remote_storage_factory().

The constructed client is cached.

oioioi.filetracker.client._on_setting_changed(sender, setting, **kwargs)[source]
oioioi.filetracker.client.remote_storage_factory()[source]

A filetracker factory which creates a client that uses the remote server at settings.FILETRACKER_URL and a folder settings.FILETRACKER_CACHE_ROOT as a cache directory.