/django-pymemcache

A Django cache backend built in Pinterest's pymemcache.

Primary LanguagePythonApache License 2.0Apache-2.0

django-pymemcache

django-pymemcache is a Djagno cache backend that uses Pinterest's pymemcache library as the backend.

Installation

pip install django-pymemcache

Usage

Simply use it as any other Cache backend, e.g.:

CACHES = {
    'default': {
        'BACKEND': 'djpymemcache.backend.PyMemcacheCache',
        'LOCATION': [
           '127.0.0.1:11211',
        ],
    },
}

Note

The backend currently only supports connecting to one server.

Issues

https://github.com/jsocol/django-pymemcache/issues