Skip to main content

Simple private media integration for Django

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django_privates-4.0.0.tar.gz (15.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

django_privates-4.0.0-py3-none-any.whl (12.3 kB view details)

Uploaded Python 3

File details

Details for the file django_privates-4.0.0.tar.gz.

File metadata

  • Download URL: django_privates-4.0.0.tar.gz
  • Upload date:
  • Size: 15.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for django_privates-4.0.0.tar.gz
Algorithm Hash digest
SHA256 5e73d476fe378c1824151dbea5d1efe1df1f43c935ee81b2bf73028d89344e02
MD5 eca27c9043c6e2122bdca578152c4f6e
BLAKE2b-256 05bc847678c40a05b1aa3e651fd12df5c51aa4b062d6bbd955c17d988828e3d0

See more details on using hashes here.

Provenance

The following attestation bundles were made for django_privates-4.0.0.tar.gz:

Publisher: ci.yml on sergei-maertens/django-privates

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file django_privates-4.0.0-py3-none-any.whl.

File metadata

  • Download URL: django_privates-4.0.0-py3-none-any.whl
  • Upload date:
  • Size: 12.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for django_privates-4.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c75ef22d8c7faf7f56b051645a90d620236685a883e93b2a303731fb91a1a84e
MD5 e96223595e51477db0a889e6baf9e011
BLAKE2b-256 2740d321890a7f7de840897abd01838a2e85c721973ae3b882568fc62f422827

See more details on using hashes here.

Provenance

The following attestation bundles were made for django_privates-4.0.0-py3-none-any.whl:

Publisher: ci.yml on sergei-maertens/django-privates

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page