10000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1818fcc commit 94b36aaCopy full SHA for 94b36aa
django_extensions/management/commands/shell_plus.py
@@ -26,7 +26,8 @@ def handle_noargs(self, **options):
26
# Set up a dictionary to serve as the environment for the shell, so
27
# that tab completion works on objects that are imported at runtime.
28
# See ticket 5082.
29
- imported_objects = {}
+ from django.conf import settings
30
+ imported_objects = {'settings': settings}
31
for app_mod in get_apps():
32
app_models = get_models(app_mod)
33
if not app_models:
0 commit comments