Skip to main content

Non-magical object caching for Django.

Project description


Non-magical object caching for Django.

Another caching framework for Django that does not do any magic behind your back, saving brain cycles when debugging as well as sticking to Django principles.


From PyPI:

pip install django-cache-toolbox

Basic Usage

from cache_toolbox import cache_model, cache_relation
from django.db import models

class Foo(models.Model):

class Bazz(models.Model):
    foo = models.OneToOneField(Foo, related_name='bazz', primary_key=True)

# Prepare caching of a model

# Prepare caching of a relation

# Fetch the cached version of a model
foo = Foo.get_cached(pk=42)

# Load a cached relation

See the module docstrings for further details.

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-cache-toolbox, version 1.6.0
Filename, size File type Python version Upload date Hashes
Filename, size django-cache-toolbox-1.6.0.tar.gz (9.1 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page