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.2.tar.gz (16.6 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.2-py3-none-any.whl (12.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: django_privates-4.0.2.tar.gz
  • Upload date:
  • Size: 16.6 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.2.tar.gz
Algorithm Hash digest
SHA256 3eba831e2e37562e6e096daa3414b402e71241ca898fea4983e75bc7c86d6f1e
MD5 df32dd12e06ca84586b754db263dbcc8
BLAKE2b-256 496d67347851688bea4f8535744fa0d20f6937301a0b80c94e2a9616ec321a30

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: django_privates-4.0.2-py3-none-any.whl
  • Upload date:
  • Size: 12.9 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 23bbd0728ece3161edc9d7d669e20943a6158dace5bc8947383f30dd1086bbd8
MD5 5ab9428ab524a34c1c31f6b3537bd7d6
BLAKE2b-256 5761b5be6341bf02c838cb69882566bfd5d1a3b42b9cc58d8a5e3c678795fa53

See more details on using hashes here.

Provenance

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