django-privates

Batteries included private media integration in Django


Keywords
django, media, private, storage
License
MIT
Install
pip install django-privates==1.3.0

Documentation

Django-privates - private media integrration

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

2.1   Install

pip install django-privates

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

INSTALLED_APPS = [
    ...,

    'privates',

    ...
]