Skip to content

Commit

Permalink
Stopped calling get_models() for a side effect.
Browse files Browse the repository at this point in the history
  • Loading branch information
aaugustin committed Dec 29, 2013
1 parent 34a215d commit 5892a83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion django/core/management/commands/shell.py
Expand Up @@ -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)
Expand Down

0 comments on commit 5892a83

Please sign in to comment.