Settings

class alliance_platform.storage.settings.AlliancePlatformStorageSettingsType[source]

Settings for the Storage package of the Alliance Platform

These can be set in the Django settings file under the ALLIANCE_PLATFORM key:

ALLIANCE_PLATFORM = {
    "STORAGE": {
        # settings go here
    }
}
UPLOAD_URL_EXPIRY: int | None[source]

Number of seconds a generated upload URL is valid for by default. Defaults to 3600.

DOWNLOAD_URL_EXPIRY: int | None[source]

Number of seconds a generated download URL is valid for by default. Defaults to 3600.