Django-privates makes it easy to work with login-protected FileField
s,
all the way through your application.
Version: | 1.2.0 |
---|---|
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-privates
And then add privates
to your INSTALLED_APPS
for admin integration (
template discovery):
INSTALLED_APPS = [
...,
'privates',
...
]