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: 1.0.1
:Source: https://github.com/sergei-maertens/django-privates
:Keywords: django, media, private, storage
|build-status| |requirements| |coverage| |docs| |python-version| |django-versions| |pypi-version|
.. 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,...)
Installation
============
Install
-------
.. code-block:: bash
pip install django-privates
And then add ``privates`` to your ``INSTALLED_APPS`` for admin integration (
template discovery):
.. code-block:: python
INSTALLED_APPS = [
...,
'privates',
...
]
.. |build-status| image:: https://travis-ci.org/sergei-maertens/django-privates.svg?branch=develop
:target: https://travis-ci.org/sergei-maertens/django-privates
.. |requirements| image:: https://requires.io/github/sergei-maertens/django-privates/requirements.svg?branch=develop
:target: https://requires.io/github/sergei-maertens/django-privates/requirements/?branch=develop
:alt: Requirements status
.. |coverage| image:: https://codecov.io/gh/sergei-maertens/django-privates/branch/develop/graph/badge.svg
:target: https://codecov.io/gh/sergei-maertens/django-privates
:alt: Coverage status
.. |docs| image:: //readthedocs.org/projects/django-privates/badge/?version=latest
:target: https://django-privates.readthedocs.io/en/latest/?badge=latest
:alt: Documentation Status
.. |python-versions| image:: https://img.shields.io/pypi/pyversions/django-privates.svg
.. |django-versions| image:: https://img.shields.io/pypi/djversions/django-privates.svg
.. |pypi-version| image:: https://img.shields.io/pypi/v/django-privates.svg
:target: https://pypi.org/project/django-privates/
.. _sendfile: https://pypi.org/project/django-sendfile2/
Django-privates - private media integrration
============================================
Django-privates makes it easy to work with login-protected ``FileField``s,
all the way through your application.
:Version: 1.0.1
:Source: https://github.com/sergei-maertens/django-privates
:Keywords: django, media, private, storage
|build-status| |requirements| |coverage| |docs| |python-version| |django-versions| |pypi-version|
.. 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,...)
Installation
============
Install
-------
.. code-block:: bash
pip install django-privates
And then add ``privates`` to your ``INSTALLED_APPS`` for admin integration (
template discovery):
.. code-block:: python
INSTALLED_APPS = [
...,
'privates',
...
]
.. |build-status| image:: https://travis-ci.org/sergei-maertens/django-privates.svg?branch=develop
:target: https://travis-ci.org/sergei-maertens/django-privates
.. |requirements| image:: https://requires.io/github/sergei-maertens/django-privates/requirements.svg?branch=develop
:target: https://requires.io/github/sergei-maertens/django-privates/requirements/?branch=develop
:alt: Requirements status
.. |coverage| image:: https://codecov.io/gh/sergei-maertens/django-privates/branch/develop/graph/badge.svg
:target: https://codecov.io/gh/sergei-maertens/django-privates
:alt: Coverage status
.. |docs| image:: //readthedocs.org/projects/django-privates/badge/?version=latest
:target: https://django-privates.readthedocs.io/en/latest/?badge=latest
:alt: Documentation Status
.. |python-versions| image:: https://img.shields.io/pypi/pyversions/django-privates.svg
.. |django-versions| image:: https://img.shields.io/pypi/djversions/django-privates.svg
.. |pypi-version| image:: https://img.shields.io/pypi/v/django-privates.svg
:target: https://pypi.org/project/django-privates/
.. _sendfile: https://pypi.org/project/django-sendfile2/
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-1.0.1.tar.gz
(7.8 kB
view hashes)
Built Distribution
Close
Hashes for django_privates-1.0.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dd1971367ed2119d304fd2296b995bafcaaed7aafd81f0f4c3a99d689f8ff346 |
|
MD5 | f6821a9c6a045c3dfa696af9524815f5 |
|
BLAKE2b-256 | 857d44121f12f4486f3cceae07244a75b4f01adba8fc8ec0fd644ebf69cdafc8 |