mirror of
https://github.com/django/django.git
synced 2025-10-29 16:46:11 +00:00
Merged Apps.populate_apps() and populate_models().
After the recent series of refactorings, there's no reason to keep two distinct methods. Refs #21681.
This commit is contained in:
@@ -13,5 +13,4 @@ def setup():
|
||||
# INSTALLED_APPS or any other setting) and populate the app registry.
|
||||
from django.apps import apps
|
||||
from django.conf import settings
|
||||
apps.populate_apps(settings.INSTALLED_APPS)
|
||||
apps.populate_models()
|
||||
apps.populate(settings.INSTALLED_APPS)
|
||||
|
||||
Reference in New Issue
Block a user