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.0.tar.gz (12.1 kB view details)

Uploaded Source

Built Distribution

django_privates-3.1.0-py3-none-any.whl (10.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: django_privates-3.1.0.tar.gz
  • Upload date:
  • Size: 12.1 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.0.tar.gz
Algorithm Hash digest
SHA256 6615a95cf114f3dcea7e72abd4b5f052d7b1ae42749385c9f541ba1b7f171988
MD5 5d025b6dd602b1d30cc9983f2be411b7
BLAKE2b-256 2ab39adfd69007077a9ef7f87c1ee442f5155f2cfed94948bf2658bc58a2fee5

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for django_privates-3.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 75cd4b46935ba522a9dc5a7b98ae617f9a08aae2f04ec53f385dbbf28ad12b14
MD5 517a12d0de9eb112f30c20ec3d04d17d
BLAKE2b-256 8bb42f1e5820d958eb0e26145fc2d3f49e13651dcc6b56023ca12abce726c6d5

See more details on using hashes here.

Provenance

The following attestation bundles were made for django_privates-3.1.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 Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page