skip to navigation
skip to content

Not Logged In

django-uwsgi-cache 1.0.0

uWSGI Django cache backend

uWSGI Django cache backend. Started from a snippet at 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.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.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)
 
File Type Py Version Uploaded on Size
django-uwsgi-cache-1.0.0.tar.gz (md5) Source 2014-12-10 12KB
django_uwsgi_cache-1.0.0-py2.py3-none-any.whl (md5) Python Wheel 2.7 2014-12-10 4KB
  • Downloads (All Versions):
  • 23 downloads in the last day
  • 147 downloads in the last week
  • 307 downloads in the last month