uWSGI Django cache backend
Project description
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)
Python 3 support (contributed by Omer Katz)
Support for cache.clean (contributed by laurentpayot)
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)
Built Distribution
Close
Hashes for django_uwsgi_cache-0.3.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e289c89e0e60c4cd9dcdfe97aa4956cddfc77df692cb6126c4af04b29c67170a |
|
MD5 | 7f36137403a8db981d2b67439d610190 |
|
BLAKE2b-256 | 2eba05b79de91ed3b5f5b796623db53d26da3a7479d1808c47ce0892554a25cf |