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' %}
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' %}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file django-sql-debugger-0.1.tar.gz
.
File metadata
- Download URL: django-sql-debugger-0.1.tar.gz
- Upload date:
- Size: 6.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
bd19afa0c05315fda47198f7e19eff125ecdd026e06b32ce217d39a1a5e3b1b8
|
|
MD5 |
363765e1ab6ff2109ac3b4de8b879d70
|
|
BLAKE2b-256 |
69d7976c76a8eb8bd82679bf26e14810c0d0d3ed6a998390d94521a08d2a90da
|