| docs | |
|---|---|
| tests | |
| package |
uWSGI Django cache backend.
- Free software: BSD 2-Clause License
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'
}
}
- Django 4.2 or later.
- Python 3.9 or later.
UWSGI_CACHE_FALLBACK
False- raises Exception ifuwsgicannot be imported.True(default) - ifuwsgiis 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.