Django-privates makes it easy to work with login-protected FileFields,
all the way through your application.
| Version: | 1.0.1 |
|---|---|
| Source: | https://github.com/sergei-maertens/django-privates |
| Keywords: | django, media, private, storage |
Contents
- Default private media storage, configurable via settings
- Model field using the default storage
- Easy admin integration
- File serving through sendfile (supports nginx, apache, runserver,...)
pip install django-privatesAnd then add privates to your INSTALLED_APPS for admin integration (
template discovery):
INSTALLED_APPS = [
...,
'privates',
...
]