Skip to main content
PyCon US is happening May 14th-22nd in Pittsburgh, PA USA.  Learn more

uWSGI Django cache backend.

Project description

Documentation Status Travis-CI Build Status AppVeyor Build Status Coverage Status Code Quality Status Scrtinizer Status
PyPI Package latest release PyPI Package monthly downloads PyPI Wheel Supported versions Supported imlementations

uWSGI Django cache backend.

  • 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.4 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

1.0.1 (2015-07-01)

  • Stop depending explicitly on uwsgi in setup.py (helps with development and such).

1.0.0 (2014-12-10)

  • Support for special timeout values in Django 1.6 and 1.7 (contributed by Laurent Payot)

0.3.0 (2014-07-25)

  • Python 3 support (contributed by Laurent Payot)

  • Support for cache.clear (contributed by Omer Katz)

0.? (?)

  • N/A (contributed by Riccardo Magliocchetti)

Supported by

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