Skip to main content

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

build-status Requirements status Coverage status Documentation Status python-versions django-versions pypi-version

<nav class="contents" id="contents" role="doc-toc">

Contents

</nav>

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Built Distribution

django_privates-1.2.2-py2.py3-none-any.whl (7.4 kB view hashes)

Uploaded py2 py3

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