uWSGI Django cache backend.
Project description
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)
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
Built Distribution
File details
Details for the file django-uwsgi-cache-1.0.1.tar.gz
.
File metadata
- Download URL: django-uwsgi-cache-1.0.1.tar.gz
- Upload date:
- Size: 14.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 86456fc35a0d384db60834833e42ef5bcc01269a8502251c6e9d97de9512fe2f |
|
MD5 | 00afb6275e34638d021e27324080ab89 |
|
BLAKE2b-256 | 84af993381cf60e45e4748731cf35cb7b0b93645e200cb6648698e1d6d64ce15 |
File details
Details for the file django_uwsgi_cache-1.0.1-py2.py3-none-any.whl
.
File metadata
- Download URL: django_uwsgi_cache-1.0.1-py2.py3-none-any.whl
- Upload date:
- Size: 5.5 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fed8d1d3a61f343a5d7b68b72223769e1581a92cd6b43ac2ba816cf44ccf2d9c |
|
MD5 | a924837e0904159b5c25d38d0e324c67 |
|
BLAKE2b-256 | 2e41c9ab1afb613a39a1444268163429fb45fefb864a180b3338285526129107 |