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.2.0 |
---|---|
Source: | https://github.com/sergei-maertens/django-privates |
Keywords: | django, media, private, storage |
Contents
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Filename, size | File type | Python version | Upload date | Hashes |
---|---|---|---|---|
Filename, size django_privates-1.2.1-py2.py3-none-any.whl (6.5 kB) | File type Wheel | Python version py2.py3 | Upload date | Hashes View |
Filename, size django-privates-1.2.1.tar.gz (6.4 kB) | File type Source | Python version None | Upload date | Hashes View |
Close
Hashes for django_privates-1.2.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | df71f50310f4b3566ae6402449748ec4303acb198bcd19a191f6b9cc3a14a2be |
|
MD5 | fc7cd8fa71f7a9f768400276c393cf18 |
|
BLAKE2-256 | 10cf0179e1486c93371ff94286110a024c6f15103264b5fd93ba8b49b611fc6c |