Skip to main content

uWSGI Django cache backend

Project description

Travis-CI Build Status Coverage Status PYPI Package PYPI Package

uWSGI Django cache backend. Origianlly taken from http://uwsgi-docs.readthedocs.org/en/latest/WebCaching.html

  • Free software: BSD license

Installation

pip install django-uwsgi-cache and change settings to:

CACHES = {
    'default': {
        'BACKEND': 'uwsgicache.UWSGICache',

        # and optionally, if you use a different cache name
        'LOCATION': 'foobar'
    }
}

Requirements

  • Django 1.3 or later

Settings

UWSGI_CACHE_FALLBACK

  • False - raises Exception if uwsgi cannot be imported.

  • True (default) - if uwsgi is not importable this cache backend will alias to LocMemCache. Note that south or other mangement commands might try to load the cache backend so this is why it’s the default.

Changelog

0.3.0 (2014-07-25)

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-uwsgi-cache-0.3.0.tar.gz (12.3 kB view hashes)

Uploaded Source

Built Distribution

django_uwsgi_cache-0.3.0-py2.py3-none-any.whl (4.6 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