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

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.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

django_privates-1.2.2-py2.py3-none-any.whl (7.4 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