Skip to main content
Premium

Installation

Add the app and the driver for the provider you use.

INSTALLED_APPS = [
...,
"habarico",
"habarico_enterprise", # optional, adds the translations of the package's messages
"habarico_enterprise.uploads",
...
]
pip install "habarico-enterprise[uploads-s3]" # S3 multipart
pip install "habarico-enterprise[uploads-tus]" # resumable tus

The classes behind the feature — the AdminSite that adds the upload routes, the FieldSchemaGenerator that adds the field schema's upload block, and the file field mixin — are wired in as soon as the package is installed, so no ADMIN_REST_FRAMEWORK block is needed (see Installation).

Installing the app alone changes nothing yet — a field only takes the chunked path once a provider is configured, see Configuration.

See also​