dj-bucket
Store blobs into a database table.
Setup
In your configuration add the dj-bucket app to the installed apps:
INSTALLED_APPS: = [
"dj_bucket",
]
# Bucket base path no starting and no ending slash
BUCKET_PATH="bucket"
Then make sure a database backend is setup, for testing you can use the SQLite:
DATABASES = {
"default": {
"ENGINE": "django.db.backends.sqlite3",
"NAME": BASE_DIR / "db.sqlite3",
}
}
Add the bucket URL to your urls.py:
from dj_bucket.urls import urlpatterns as dj_bucket_urls
urlpatterns = [
path("", include(dj_bucket_urls)),
...
]
Run the Django database migrations to create the table that will store the blobs.
Wagtail
With wagtail you need to declare the storage in the STORAGES variable:
STORAGES = {
"default": {
"BACKEND": "dj_bucket.models.Bucket",
}
}
Metadata
Release files for dj-bucket 0.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| dj_bucket-0.1.4.tar.gz | 5.9 kB | Without provenance | Details for dj_bucket-0.1.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| dj_bucket-0.1.4-py3-none-any.whl | Python 3 | none | any | Details for dj_bucket-0.1.4-py3-none-any.whl |
Total release size: 12.7 kB
Release files / dj_bucket-0.1.4.tar.gz
| Download URL | dj_bucket-0.1.4.tar.gz |
|---|---|
| Size | 5.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3e80aba23746067d76c36011ad2a9eda29e47ce3c4abf27159114975dceb05f2
|
|
BLAKE2b-256 checksum How to use checksums |
81d31cf1cba61917ea0a6392c8cd9d7f007b4df07d0b0fabaacd6a596515bed4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
pdm/2.29.2 CPython/3.12.14 Linux/6.17.0-1022-azure
|
Release files / dj_bucket-0.1.4-py3-none-any.whl
| Download URL | dj_bucket-0.1.4-py3-none-any.whl |
|---|---|
| Size | 6.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c07586b63ba324729586cdbddbf9783380f82dfc4546db03223658cdb84e0639
|
|
BLAKE2b-256 checksum How to use checksums |
16ff5256e8439922f654e41811d2f5ba4141886799fa43300bacaab90060c430
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
pdm/2.29.2 CPython/3.12.14 Linux/6.17.0-1022-azure
|
Security for dj-bucket 0.1.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.