Skip to main content

Simple private media integration for Django.

Run CI Code linting Coverage status Documentation Status Ruff

python-versions django-versions pypi-version

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)

Source distribution for django-privates 4.0.3
File Size Uploaded
django_privates-4.0.3.tar.gz 16.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for django-privates 4.0.3
File Interpreter ABI Platform
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 log

Release 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

Release history Release notifications | RSS feed

This release

4.0.3 This release

2 release files

4.0.2

2 release files

4.0.1

2 release files

4.0.0

2 release files

3.1.1

2 release files

3.1.0

2 release files

3.0.0

2 release files

2.0.0

2 release files

1.5.0

2 release files

1.4.0

2 release files

1.3.0

2 release files

1.2.2

1 release file

1.2.1

2 release files

1.2.0

2 release files

1.1.0

2 release files

1.0.1

2 release files

1.0

2 release files

0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page