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

Django app that helps controlling database requests count

Project Description

=====
SQL Debugger
=====

django-sql-debugger is an app that helps controlling number of SQL during your HTTPRequests, including AJAX.
Based on custom database backend, it currently supports only MySQL.

*Warning: the app currently works under Django 1.6.5 and is not tested against other versions*

Quick start
-----------

1. Add "sql_debugger" to your INSTALLED_APPS setting like this::

INSTALLED_APPS = (
...
'sql_debugger',
)

2. To turn on SQL Debugger add the following to your settings.py file::

SQL_DEBUGGER_SHOW_TRACEBACK = True

Also make sure DEBUG is set to True. Do not use this on production server!

Usage
-----

1. To add visualization to your page include SQL Debugger template there::

{% include 'sql_debugger/base.html' %}

Release History

This version
History Node

0.1

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
django-sql-debugger-0.1.tar.gz
(6.3 kB) Copy SHA256 Hash SHA256
Source None Jan 25, 2016

Supported By

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 Google Google Cloud Servers DreamHost DreamHost Log Hosting