Simple private media integration for Django.
What does it do?
Django supports file uploads for user-generated content out of the box, which is typically public - think of images, videos…
However, often you want to expose files only to correctly authenticated users because they have a sensitive nature, for example invoice PDFs or tenant-specific documents.
django-privates achieves the latter while being as convenient as Django’s core FileField and derivatives.
Usage
The installation and usage documentation is hosted on ReadTheDocs.
Release files for django-privates 4.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| django_privates-4.0.3.tar.gz | 16.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| django_privates-4.0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 29.8 kB
Release files / django_privates-4.0.3.tar.gz
| Download URL | django_privates-4.0.3.tar.gz |
|---|---|
| Size | 16.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
acc2a73f8821ee71aa2f08cee8e6f51e69c6fe84ba009ebc049dfb164f4c394b
|
|
BLAKE2b-256 checksum How to use checksums |
cbb0b40018c7d0eae11a66f60bb19741afb1d75c3c8d9c4ac5e420934ec37bab
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 16, 2026.
Transparency logRelease files / django_privates-4.0.3-py3-none-any.whl
| Download URL | django_privates-4.0.3-py3-none-any.whl |
|---|---|
| Size | 13.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
98737c1203146ec9377d09265613b3d4e59559ef5ece21a0cd92808592b7220f
|
|
BLAKE2b-256 checksum How to use checksums |
d8869bf255fbddb980689ed720672bfa05db9958e903b3b5850244b86ae0ca21
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 16, 2026.
Transparency log