aboutsummaryrefslogtreecommitdiffstats
path: root/debug_toolbar/management/commands/debugsqlshell.py
diff options
context:
space:
mode:
authorAymeric Augustin2013-10-22 15:06:16 +0200
committerAymeric Augustin2013-10-22 15:06:16 +0200
commit75df680f6e0fda6a603e64627a71e187ca117bd6 (patch)
tree6704dcc2762367e155fcfd7bf1b76cb5025f8863 /debug_toolbar/management/commands/debugsqlshell.py
parent6768be17c4a9bd151fa90363c559bd15aeb395e7 (diff)
downloaddjango-debug-toolbar-75df680f6e0fda6a603e64627a71e187ca117bd6.tar.bz2
Fix #420 -- Regression in 729d75d.
Thanks Jacob Hesch for the report.
Diffstat (limited to 'debug_toolbar/management/commands/debugsqlshell.py')
-rw-r--r--debug_toolbar/management/commands/debugsqlshell.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/debug_toolbar/management/commands/debugsqlshell.py b/debug_toolbar/management/commands/debugsqlshell.py
index c5718b8..120f0a2 100644
--- a/debug_toolbar/management/commands/debugsqlshell.py
+++ b/debug_toolbar/management/commands/debugsqlshell.py
@@ -2,6 +2,8 @@ from __future__ import print_function, unicode_literals
from time import time
+# 'debugsqlshell' is the same as the 'shell'.
+from django.core.management.commands.shell import Command
from django.db.backends import util
import sqlparse