This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description


Provide tool which help finding performance issues in django projects.


Install requirements:

pip install -r requirements.txt

Install django-care:

pip install django-care

or current development version:

pip install hg+https:://




Checking for queries run at startup

Running command below will statistics about queries run at project startup.

$ python check_startup_queries -o queries.txt

Enabling SQL queries annotations

In order to get sql queries annotated with path and view in which it occured add middleware as below.

MIDDLEWARE_CLASSES += ('care.middleware.AnnotateSQLMiddleware',)

Issued queries will have comment appended in the form:

<original query> -- path: <request path> | view: <resolved view>

For example:

SELECT `id`, `username` FROM `auth_user` WHERE `id` = 1 -- path: / | view: base.index

It can help with searching for source of slow queries from slow.log.

Supported Django versions

Tested with:

  • Django 1.2.7 on python2.7
  • Django 1.3.7 on python2.7
  • Django 1.4.16 on python2.7
  • Django 1.5.11 on python2.7, python3.2, python3.3, python3.4
  • Django 1.6.8 on python2.7, python3.2, python3.3, python3.4
  • Django 1.7.1 on python2.7, python3.2, python3.3, python3.4
Release History

Release History


This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
django_care-0.1.0-py2.py3-none-any.whl (12.2 kB) Copy SHA256 Checksum SHA256 py2.py3 Wheel Dec 2, 2014
django-care-0.1.0.tar.gz (7.8 kB) Copy SHA256 Checksum SHA256 Source Dec 2, 2014

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development 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