Skip to main content

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

Project details


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)

Uploaded Source

Built Distribution

django_privates-0.1-py2.py3-none-any.whl (4.9 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page