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.1.tar.gz (16.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.1-py3-none-any.whl (12.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: django_privates-4.0.1.tar.gz
  • Upload date:
  • Size: 16.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.1.tar.gz
Algorithm Hash digest
SHA256 593ff3757894db6cde334781b491d3031aaddee0c5ecaaa036cfd11ed0ba131d
MD5 db798fc1a1a4cf5c6a94d2a34fd70806
BLAKE2b-256 54c36a301603b7d0c830e96a70899a3d7998219fbf171b43881864e4213a8f22

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: django_privates-4.0.1-py3-none-any.whl
  • Upload date:
  • Size: 12.8 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 65d7db00372b5244a52b6d47ad81ba8bf17a49af4e8ca7e219180cd50447a09c
MD5 cc6a8299aa74ff2d95d40eb2c8e4873d
BLAKE2b-256 cd00f318d3bf76ea31797efa80d55a8f308f1c77ea0aecc236345a836bd50d1c

See more details on using hashes here.

Provenance

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