aboutsummaryrefslogtreecommitdiffstats
path: root/debug_toolbar/views.py
AgeCommit message (Collapse)Author
2010-02-02Updated template source call to support Django 1.2Rob Hudson
2010-01-14Views.py tweaked to use friendlier "EXPLAIN QUERY PLAN" with sqlite3Chris Adams
Signed-off-by: Rob Hudson <rob@cogit8.org>
2009-09-07Fixed template source to work nicely with and without Pygments.Rob Hudson
2009-08-28Refactored SQL panel to use datetime objects and added a visual display of ↵Rob Hudson
both duration and sequence to the SQL template.
2009-08-28Fixed sql profiling so it doesn't return a 500 if the SQL `SET PROFILING=1` ↵Rob Hudson
results in an error. Also fixed view to render the correct template.
2009-04-02Moving media so they are "namespaced" like templates.Rob Hudson
2009-01-17Fixing AJAX calls to detailed SQL views.Reto Aebersold
Signed-off-by: Rob Hudson <rob@cogit8.org>
2008-10-07Updating SQL views to return HttpResponseBadRequest on tamper detection.Rob Hudson
2008-10-07Clicking on a template file now will fetch and show the source of the template.Rob Hudson
Thanks to Adam Gomaa for the patch.
2008-10-06Adding query profiling for MySQL. Thanks to Simon Willison for the suggestion.Rob Hudson
There's a big TODO on this one, which is to not display or attempt to execute the profiling SQL calls if this isn't MySQL and if MySQL isn't >= version 5.0.37. For now it's a nice playground of the profiler if you have MySQL v5.0.37 or higher.
2008-10-06Just like EXPLAIN, adding the output of straight SELECT statements so you canRob Hudson
view the raw SQL output.
2008-09-24Adding a SHA-1 hash to the parameters passed to get the EXPLAIN query to avoidRob Hudson
any sort of tampering of the SQL or parameters.
2008-09-20Import simplejson from django rather than an external dependency.Rob Hudson
2008-09-16Merge branch 'master' into explain and updating a few bits to work with the newRob Hudson
urls and views.
2008-09-15Added a mechanism for monkeypatching in debug views, and also addedJacob Kaplan-Moss
jquery as both a test case and a place to get started making some js improvements. I'm not totally thrilled with this approach -- it feels *very* hackish. The alternative might be to simply require installers to add a line to their ROOT_URLCONF, which wouldn't be *bad*, but I like the "load automatically" part of this thing.
2008-09-11Adding view to explain SQL passed in via query string. Hopefully this isRob Hudson
database backend agnostic. Next up is connecting this with the SQL panel via AJAX.