Skip to main content

A simple django ORM caching layer.

Project description

Stockpile provides limited automatic caching and invalidation for Django models through the ORM. Objects fetched through .objects.get(pk=..) or .objects.get(id=..) are cached by the primary key. In addition, there is a way to get objects with the methods .objects.pk_in(id_list) and .objects.id_in(id_list).


Stockpile requires Django 1.3. It was written and tested on Python 2.6.


Get it from [pypi](

`bash pip install django-cache-stockpile `

or [github](

`bash pip install -e git:// `

Running Tests

`bash git clone git:// cd django-cache-stockpile pip install -r requirements.txt python `

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

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page