Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Stopped calling get_models() for a side effect.

  • Loading branch information...
commit 5892a83b1827a2724725f95b0ed92d2a05a11304 1 parent 34a215d
@aaugustin aaugustin authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  django/core/management/commands/shell.py
View
2  django/core/management/commands/shell.py
@@ -67,7 +67,7 @@ def handle_noargs(self, **options):
# XXX: (Temporary) workaround for ticket #1796: force early loading of all
# models from installed apps.
from django.apps import apps
- apps.get_models()
+ apps.populate_models()
use_plain = options.get('plain', False)
no_startup = options.get('no_startup', False)

0 comments on commit 5892a83

Please sign in to comment.
Something went wrong with that request. Please try again.