Skip to main content

Batteries included private media integration in Django

Project description

Django-privates makes it easy to work with login-protected FileFields, all the way through your application.

Version:

1.4.0

Source:

https://github.com/sergei-maertens/django-privates

Keywords:

django, media, private, storage

Run CI Code linting Coverage status Documentation Status python-versions django-versions pypi-version

1 Features

  • Default private media storage, configurable via settings

  • Model field using the default storage

  • Easy admin integration

  • File serving through sendfile (supports nginx, apache, runserver,…)

2 Installation

Install

pip install django-privates

And then add privates to your INSTALLED_APPS for admin integration ( template discovery):

INSTALLED_APPS = [
    ...,

    'privates',

    ...
]

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-1.4.0.tar.gz (7.2 kB view hashes)

Uploaded Source

Built Distribution

django_privates-1.4.0-py3-none-any.whl (7.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page