streeter / django-pymemcache

A Django cache backend built in Pinterest's pymemcache.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

A Django cache backend built in Pinterest's pymemcache.

License:Apache License 2.0


Languages

Language:Python 100.0%