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.0.1

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

If you're not sure about the file name format, learn more about wheel file names.

django_privates-1.0.1.post0-py2.py3-none-any.whl (8.8 kB view details)

Uploaded Python 2Python 3

File details

Details for the file django_privates-1.0.1.post0-py2.py3-none-any.whl.

File metadata

  • Download URL: django_privates-1.0.1.post0-py2.py3-none-any.whl
  • Upload date:
  • Size: 8.8 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.6.5

File hashes

Hashes for django_privates-1.0.1.post0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 08032d3b4a95a388ad6fc7165e2dc1ab4b2d873127bf45c62c6f578e3c2efa14
MD5 2a330ddf29c07e5175595e117eaca7ff
BLAKE2b-256 82180be4b788c9ab537a3d8bfd730482571284b01799c2349295a0589270684f

See more details on using hashes here.

Supported by

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