Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

A django cache backend to use bmemcached module which supports memcached binary protocol with authentication.

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 django_bmemcached
Octocat-spinner-32 tests
Octocat-spinner-32 .travis-runs-tests.sh
Octocat-spinner-32 .travis.yml
Octocat-spinner-32 LICENSE
Octocat-spinner-32 README.md
Octocat-spinner-32 requirements_test.txt
Octocat-spinner-32 setup.py
README.md

Build Status

Django-BMemcached

A django cache backend to use bmemcached module which supports memcached binary protocol with authentication.

Installing

Use pip:

pip install django-bmemcached

Using

In your settings.py add bmemcached as backend.

CACHES = {
    'default': {
        'BACKEND': 'django_bmemcached.memcached.BMemcached',
        'LOCATION': 'your_server:port',
        'OPTIONS': {
            'username': 'user',
            'password': 'password'
        }
    }
}

Using in Heroku

Just add bmemcached as backend. It will work automagically if you have added memcached as Heroku addon.

CACHES = {
    'default': {
        'BACKEND': 'django_bmemcached.memcached.BMemcached'
    }
}

Testing

DJANGO_SETTINGS_MODULE=tests.settings nosetests
Something went wrong with that request. Please try again.