summaryrefslogtreecommitdiff
path: root/django/core/management/commands/shell.py
diff options
context:
space:
mode:
Diffstat (limited to 'django/core/management/commands/shell.py')
-rw-r--r--django/core/management/commands/shell.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/django/core/management/commands/shell.py b/django/core/management/commands/shell.py
index 0f74c5ad1b..2b306a579e 100644
--- a/django/core/management/commands/shell.py
+++ b/django/core/management/commands/shell.py
@@ -41,6 +41,7 @@ class Command(BaseCommand):
def python(self, options):
import code
+
# Set up a dictionary to serve as the environment for the shell, so
# that tab completion works on objects that are imported at runtime.
imported_objects = {}