Skip to main content

Django cache backend based on Pinterest's pymemcache client.

Project description

https://travis-ci.org/django-pymemcache/django-pymemcache.svg?branch=master https://codecov.io/gh/django-pymemcache/django-pymemcache/branch/master/graph/badge.svg 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',
        ],
    },
}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for django-pymemcache, version 0.3.1
Filename, size File type Python version Upload date Hashes
Filename, size django_pymemcache-0.3.1-py3-none-any.whl (10.9 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size django-pymemcache-0.3.1.tar.gz (7.5 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page