mirror of
https://github.com/django/django.git
synced 2025-09-27 04:29:17 +00:00
Stopped calling get_models() for a side effect.
This commit is contained in:
parent
34a215d506
commit
5892a83b18
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@ class Command(NoArgsCommand):
|
||||||
# XXX: (Temporary) workaround for ticket #1796: force early loading of all
|
# XXX: (Temporary) workaround for ticket #1796: force early loading of all
|
||||||
# models from installed apps.
|
# models from installed apps.
|
||||||
from django.apps import apps
|
from django.apps import apps
|
||||||
apps.get_models()
|
apps.populate_models()
|
||||||
|
|
||||||
use_plain = options.get('plain', False)
|
use_plain = options.get('plain', False)
|
||||||
no_startup = options.get('no_startup', False)
|
no_startup = options.get('no_startup', False)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue