Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

A simple caching for sql query

Project Description
SQL Cache

SQL Cache is a simple Django Middleware to prevent execute the same sql query in one request.

Quick start

1. Go to your project directory

2. Install sql cache

python directory_to_sql_cache/ install

3. Add "sql_cache" to your INSTALLED_APPS setting like this::


4. Add "django_sql_cache.middleware.QueryCacheMiddleware" to your MIDDLEWARE_CLASSES
Release History

Release History

This version
History Node


Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting