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 3 6

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page