uWSGI Django cache backend.
Free software: BSD 2-Clause 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 4.2 or later.
Python 3.9 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 mangement commands might try to load the cache backend so this is why it’s the default.
Changelog
1.1.0 (2025-10-01)
Fixed bug that occurs when timeout=DEFAULT_TIMEOUT is used. Contributed by György Kiss in #12.
Added pickle_protocol class property (defaults to pickle.HIGHEST_PROTOCOL).
Django 4.2 or later is required now.
Python 3.9 or later is required now.
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)
Metadata
Release files for django-uwsgi-cache 1.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| django_uwsgi_cache-1.1.0.tar.gz | 17.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| django_uwsgi_cache-1.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 21.8 kB
Release files / django_uwsgi_cache-1.1.0.tar.gz
| Download URL | django_uwsgi_cache-1.1.0.tar.gz |
|---|---|
| Size | 17.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2e7236d1df699a65d92cb238172c1078abad38efe9134ca0959eea408673145b
|
|
BLAKE2b-256 checksum How to use checksums |
384908208e712a782c215a886990798e6a3b19dfd6af943ada2d2202c49b9b7a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Release files / django_uwsgi_cache-1.1.0-py3-none-any.whl
| Download URL | django_uwsgi_cache-1.1.0-py3-none-any.whl |
|---|---|
| Size | 4.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2211fa495ae5c841a6fb7f582f5d99a523cd505b7932f09db704caa0ce5cd0a2
|
|
BLAKE2b-256 checksum How to use checksums |
18b8e81dbc4bf84814f958bf27b41d9deaf1177b3bf2d11cd3307b59f7a94f56
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|