Batteries included private media integration in Django
Project description
============================================
Django-privates - private media integrration
============================================
Django-privates makes it easy to work with login-protected ``FileField``s,
all the way through your application.
:Version: 0.1.0
:Source: https://github.com/sergei-maertens/django-privates
:Keywords: django, media, private, storage
:PythonVersion: 2.7, 3.4, 3.5, 3.6
:DjangoVersion: 1.11, 2.0
|build-status| |requirements|
.. contents::
.. section-numbering::
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,...)
* Django project inspection:
* backs up configured databases using ``settings.DATABASES``
* backs up file directories such as ``settings.MEDIA_ROOT``
* stdlib ``logging`` based reporting + e-mailing of backup/restore report
* YAML-based, minimal configuration
* Simple Python/CLI APIs for backup creation and restoration
Installation
============
Install
-------
.. code-block:: bash
pip install django-privates
You do *not* need to add it to your ``INSTALLED_APPS``.
.. TODO
.. |build-status| image:: http://jenkins.maykin.nl/buildStatus/icon?job={{ project_name|lower }}
:alt: Build status
:target: http://jenkins.maykin.nl/job/{{ project_name|lower }}
.. |requirements| image:: https://requires.io/github/sergei-maertens/django-privates/requirements.svg?branch=master
:target: https://requires.io/github/sergei-maertens/django-privates/requirements/?branch=master
:alt: Requirements status
Django-privates - private media integrration
============================================
Django-privates makes it easy to work with login-protected ``FileField``s,
all the way through your application.
:Version: 0.1.0
:Source: https://github.com/sergei-maertens/django-privates
:Keywords: django, media, private, storage
:PythonVersion: 2.7, 3.4, 3.5, 3.6
:DjangoVersion: 1.11, 2.0
|build-status| |requirements|
.. contents::
.. section-numbering::
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,...)
* Django project inspection:
* backs up configured databases using ``settings.DATABASES``
* backs up file directories such as ``settings.MEDIA_ROOT``
* stdlib ``logging`` based reporting + e-mailing of backup/restore report
* YAML-based, minimal configuration
* Simple Python/CLI APIs for backup creation and restoration
Installation
============
Install
-------
.. code-block:: bash
pip install django-privates
You do *not* need to add it to your ``INSTALLED_APPS``.
.. TODO
.. |build-status| image:: http://jenkins.maykin.nl/buildStatus/icon?job={{ project_name|lower }}
:alt: Build status
:target: http://jenkins.maykin.nl/job/{{ project_name|lower }}
.. |requirements| image:: https://requires.io/github/sergei-maertens/django-privates/requirements.svg?branch=master
:target: https://requires.io/github/sergei-maertens/django-privates/requirements/?branch=master
:alt: Requirements status
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.
Source Distribution
django-privates-0.1.tar.gz
(4.1 kB
view hashes)
Built Distribution
Close
Hashes for django_privates-0.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 90a5d7184241c54324f7ec17f7408e3dfdbba655f4dc8ad8cd4c800613a00418 |
|
MD5 | c7d7875a4ef3b355001f8da36b4de07a |
|
BLAKE2b-256 | 783da24adce446a0e530fcda3160fc4d1c7f977c810b98f3ecd4039a6d0f2b4d |