diff options
| author | David Cramer | 2011-04-06 16:07:46 -0700 | 
|---|---|---|
| committer | David Cramer | 2011-04-06 16:07:46 -0700 | 
| commit | a9b466b6672c72f498e3f011524d48726937d1d5 (patch) | |
| tree | a6006ec0fa95eb625fa2bdfd16dd39b3f4286373 /debug_toolbar/templates | |
| parent | 72271115974463f30a2f9f8755e42acc69e204c3 (diff) | |
| download | django-debug-toolbar-a9b466b6672c72f498e3f011524d48726937d1d5.tar.bz2 | |
SQL panel now guesses at Psycopg2 transactions (when autocommit swaps to in trans and vice versa)
Diffstat (limited to 'debug_toolbar/templates')
| -rw-r--r-- | debug_toolbar/templates/debug_toolbar/panels/sql.html | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/debug_toolbar/templates/debug_toolbar/panels/sql.html b/debug_toolbar/templates/debug_toolbar/panels/sql.html index 436f3ce..81e1667 100644 --- a/debug_toolbar/templates/debug_toolbar/panels/sql.html +++ b/debug_toolbar/templates/debug_toolbar/panels/sql.html @@ -23,7 +23,7 @@  		</thead>  		<tbody>  			{% for query in queries %} -				<tr class="djDebugHoverable {% cycle 'djDebugOdd' 'djDebugEven' %}{% if query.is_slow %} djDebugRowWarning{% endif %}" id="sqlMain_{{ forloop.counter }}"> +				<tr class="djDebugHoverable {% cycle 'djDebugOdd' 'djDebugEven' %}{% if query.is_slow %} djDebugRowWarning{% endif %}{% if query.starts_trans %} djDebugStartTransaction{% endif %}{% if query.ends_trans %} djDebugEndTransaction{% endif %}{% if query.in_trans %} djDebugInTransaction{% endif %}" id="sqlMain_{{ forloop.counter }}">  					<td class="color"><span style="background-color: rgb({{ query.rgb_color|join:", " }});"> </span></td>  					<td class="toggle">  						<a class="djSQLToggleDetails" data-queryid="{{ forloop.counter }}" href="javascript:void(0)">+</a>  | 
