1
0
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:
Aymeric Augustin
2013-12-30 23:15:29 +01:00
parent 966de84973
commit 1c242a297b
4 changed files with 22 additions and 65 deletions

View File

@@ -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)