django-cache-stockpile

A simple Django ORM caching layer
Download

django-cache-stockpile Ranking & Summary

Advertisement

  • Rating:
  • License:
  • BSD License
  • Publisher Name:
  • Chris Streeter
  • Publisher web site:
  • http://chrisstreeter.com

django-cache-stockpile Tags


django-cache-stockpile Description

A simple Django ORM caching layer django-cache-stockpile is a Django app that 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).InstallationGet it from (http://pypi.python.org/pypi/django-cache-stockpile):`bash pip install django-cache-stockpile `or (http://github.com/streeter/django-cache-stockpile):`bash pip install -e git://github.com/streeter/django-cache-stockpile.git#egg=django-cache-stockpile `Running Tests`bash git clone git://github.com/streeter/django-cache-stockpile.git cd django-cache-stockpile pip install -r requirements.txt python runtests.py ` Requirements: · Python · Django


django-cache-stockpile Related Software