← Back to DAGDA | Support | Source: https://github.com/django-pymemcache/django-pymemcache
Skip to content

About

A Django cache backend built in Pinterest's pymemcache.

Topics

Resources

Stars

40 stars

Watchers

2 watching

Forks

Latest commit

 

History

53 Commits

Folders and files

Repository files navigation

django-pymemcache

https://travis-ci.org/django-pymemcache/django-pymemcache.svg?branch=master https://img.shields.io/pypi/v/django-pymemcache.svg?style=flat

https://img.shields.io/pypi/djversions/django-pymemcache.svg?style=flat

https://img.shields.io/pypi/pyversions/django-pymemcache.svg?style=flat

django-pymemcache is a Django 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',
        ],
        'OPTIONS': {
            'serializer': <your_serializer>,
            'deserializer': <your_deserializer>,
        },
    },
}

Issues

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

About

A Django cache backend built in Pinterest's pymemcache.

Topics

Resources

Stars

40 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages