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-3.1.1.tar.gz (12.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-3.1.1-py3-none-any.whl (10.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for django_privates-3.1.1.tar.gz
Algorithm Hash digest
SHA256 e9aa62222f3786cd901ae19de9ac8d75b68a4d49f7a312e59a0915021baee48d
MD5 bf9103c39000dfbac5ebac0527c8158b
BLAKE2b-256 f2a3df7f881b8e12ddaa604b891cd7d488b9264ef1fbda0147a989bfea1e2a41

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for django_privates-3.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 df2f60d53ca92b77e89a87c267a1a5a6a08e6c777f4ae4add5b08c22104b4e81
MD5 8b6d19f68df9c1781bf3bf583e52fa0e
BLAKE2b-256 9b6324b2145f4d2155c6f707767937a0769dc1a80031ae01566956b154289d75

See more details on using hashes here.

Provenance

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