Skip to content

Commit 930f33b

Browse files
committed
Merge branch 'release/v0.8.5'
2 parents 8cb8aba + 6479ad3 commit 930f33b

File tree

13 files changed

+215
-39
lines changed

13 files changed

+215
-39
lines changed

NEWS

+22
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,28 @@
11
News for django-debug-toolbar
22
=============================
33

4+
0.8.5 (2011 Apr 25)
5+
-------------------
6+
7+
* Ensure if we're overriding the urlconf that we're resetting handler404/500.
8+
9+
* Updated middleware logic to avoid work if content-type isn't right.
10+
11+
* Change .load() calls to GET to avoid CSRF protection.
12+
13+
* Updated SQL panel to match Django's which now includes logging.
14+
15+
* Added basic multi-db support.
16+
17+
* Some HTML validation fixes.
18+
19+
* Added support for `executemany`. Thanks to postal2600.
20+
21+
* Added support for LogBook. Thanks to Vincent Driessen.
22+
23+
* Added clean_params method to DatabaseStatTracker to scrub non-unicode
24+
data for displaying on the sql panel. Thanks to Matthew J Morrison
25+
426
0.8.4 (2010 Nov 8)
527
------------------
628

README.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Currently, the following panels have been written and are working:
1616
- Templates and context used, and their template paths
1717
- SQL queries including time to execute and links to EXPLAIN each query
1818
- List of signals, their args and receivers
19-
- Logging output via Python's built-in logging module
19+
- Logging output via Python's built-in logging, or via the `logbook <http://logbook.pocoo.org>`_ module
2020

2121
There is also one Django management command currently:
2222

debug_toolbar/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
VERSION = (0, 8, 4)
1+
VERSION = (0, 8, 5)
22
__version__ = '.'.join(map(str, VERSION))

debug_toolbar/media/debug_toolbar/css/toolbar.css

+6
Original file line numberDiff line numberDiff line change
@@ -394,3 +394,9 @@
394394
#djDebug .highlight .nv { color:#333 } /* Name.Variable */
395395
#djDebug .highlight .s2 { color:#333 } /* Literal.String.Double */
396396
#djDebug .highlight .cp { color:#333 } /* Comment.Preproc */
397+
398+
@media print {
399+
#djDebug {
400+
display: none;
401+
}
402+
}

debug_toolbar/media/debug_toolbar/css/toolbar.min.css

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

debug_toolbar/media/debug_toolbar/js/toolbar.js

+5-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,11 @@
4444
return false;
4545
});
4646
$('#djDebug a.remoteCall').click(function() {
47-
$('#djDebugWindow').load(this.href, {}, function() {
47+
$('#djDebugWindow').load(this.href, function(response, status, xhr) {
48+
if (status == "error") {
49+
var message = '<div class="djDebugPanelTitle"><a class="djDebugClose djDebugBack" href="">Back</a><h3>'+xhr.status+': '+xhr.statusText+'</h3></div>';
50+
$('#djDebugWindow').html(message);
51+
}
4852
$('#djDebugWindow a.djDebugBack').click(function() {
4953
$(this).parent().parent().hide();
5054
return false;

0 commit comments

Comments
 (0)