Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ionelmc/django-uwsgi-cache
uWSGI Django cache backend.
https://github.com/ionelmc/django-uwsgi-cache
Last synced: about 2 months ago
JSON representation
uWSGI Django cache backend.
- Host: GitHub
- URL: https://github.com/ionelmc/django-uwsgi-cache
- Owner: ionelmc
- License: bsd-2-clause
- Created: 2013-04-04T16:11:41.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2018-03-01T23:16:32.000Z (almost 7 years ago)
- Last Synced: 2024-10-14T14:47:20.784Z (about 2 months ago)
- Language: Python
- Homepage: https://pypi.python.org/pypi/django-uwsgi-cache
- Size: 69.3 KB
- Stars: 39
- Watchers: 5
- Forks: 11
- Open Issues: 2
-
Metadata Files:
- Readme: README.rst
- Changelog: CHANGELOG.rst
- Contributing: CONTRIBUTING.rst
- License: LICENSE
Awesome Lists containing this project
- starred-awesome - django-uwsgi-cache - uWSGI Django cache backend. (Python)
README
========
Overview
========.. start-badges
.. list-table::
:stub-columns: 1* - docs
- |docs|
* - tests
- | |travis| |requires|
| |coveralls| |codecov|
| |landscape| |scrutinizer| |codacy| |codeclimate|
* - package
- |version| |downloads| |wheel| |supported-versions| |supported-implementations|.. |docs| image:: https://readthedocs.org/projects/django-uwsgi-cache/badge/?style=flat
:target: https://readthedocs.org/projects/django-uwsgi-cache
:alt: Documentation Status.. |travis| image:: https://travis-ci.org/ionelmc/django-uwsgi-cache.svg?branch=master
:alt: Travis-CI Build Status
:target: https://travis-ci.org/ionelmc/django-uwsgi-cache.. |requires| image:: https://requires.io/github/ionelmc/django-uwsgi-cache/requirements.svg?branch=master
:alt: Requirements Status
:target: https://requires.io/github/ionelmc/django-uwsgi-cache/requirements/?branch=master.. |coveralls| image:: https://coveralls.io/repos/ionelmc/django-uwsgi-cache/badge.svg?branch=master&service=github
:alt: Coverage Status
:target: https://coveralls.io/r/ionelmc/django-uwsgi-cache.. |codecov| image:: https://codecov.io/github/ionelmc/django-uwsgi-cache/coverage.svg?branch=master
:alt: Coverage Status
:target: https://codecov.io/github/ionelmc/django-uwsgi-cache.. |landscape| image:: https://landscape.io/github/ionelmc/django-uwsgi-cache/master/landscape.svg?style=flat
:target: https://landscape.io/github/ionelmc/django-uwsgi-cache/master
:alt: Code Quality Status.. |codacy| image:: https://img.shields.io/codacy/REPLACE_WITH_PROJECT_ID.svg?style=flat
:target: https://www.codacy.com/app/ionelmc/django-uwsgi-cache
:alt: Codacy Code Quality Status.. |codeclimate| image:: https://codeclimate.com/github/ionelmc/django-uwsgi-cache/badges/gpa.svg
:target: https://codeclimate.com/github/ionelmc/django-uwsgi-cache
:alt: CodeClimate Quality Status.. |version| image:: https://img.shields.io/pypi/v/django-uwsgi-cache.svg?style=flat
:alt: PyPI Package latest release
:target: https://pypi.python.org/pypi/django-uwsgi-cache.. |downloads| image:: https://img.shields.io/pypi/dm/django-uwsgi-cache.svg?style=flat
:alt: PyPI Package monthly downloads
:target: https://pypi.python.org/pypi/django-uwsgi-cache.. |wheel| image:: https://img.shields.io/pypi/wheel/django-uwsgi-cache.svg?style=flat
:alt: PyPI Wheel
:target: https://pypi.python.org/pypi/django-uwsgi-cache.. |supported-versions| image:: https://img.shields.io/pypi/pyversions/django-uwsgi-cache.svg?style=flat
:alt: Supported versions
:target: https://pypi.python.org/pypi/django-uwsgi-cache.. |supported-implementations| image:: https://img.shields.io/pypi/implementation/django-uwsgi-cache.svg?style=flat
:alt: Supported implementations
:target: https://pypi.python.org/pypi/django-uwsgi-cache.. |scrutinizer| image:: https://img.shields.io/scrutinizer/g/ionelmc/django-uwsgi-cache/master.svg?style=flat
:alt: Scrutinizer Status
:target: https://scrutinizer-ci.com/g/ionelmc/django-uwsgi-cache/.. end-badges
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.