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.3.tar.gz (16.9 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.3-py3-none-any.whl (13.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: django_privates-4.0.3.tar.gz
  • Upload date:
  • Size: 16.9 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.3.tar.gz
Algorithm Hash digest
SHA256 acc2a73f8821ee71aa2f08cee8e6f51e69c6fe84ba009ebc049dfb164f4c394b
MD5 3f70e1bd1705844ab4bf7a1c9a951c88
BLAKE2b-256 cbb0b40018c7d0eae11a66f60bb19741afb1d75c3c8d9c4ac5e420934ec37bab

See more details on using hashes here.

Provenance

The following attestation bundles were made for django_privates-4.0.3.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.3-py3-none-any.whl.

File metadata

  • Download URL: django_privates-4.0.3-py3-none-any.whl
  • Upload date:
  • Size: 13.0 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 98737c1203146ec9377d09265613b3d4e59559ef5ece21a0cd92808592b7220f
MD5 af313fecf482d82832627fe346cca54c
BLAKE2b-256 d8869bf255fbddb980689ed720672bfa05db9958e903b3b5850244b86ae0ca21

See more details on using hashes here.

Provenance

The following attestation bundles were made for django_privates-4.0.3-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