mirror of
https://github.com/django/django.git
synced 2025-08-02 18:13:02 +00:00
Removed the _-prefix for populate().
Several parts of Django call get_apps() with a comment along this lines of "this has the side effect of calling _populate()". I fail to see how this is better than just calling populate()!
This commit is contained in:
parent
ebda5800ae
commit
d44de9b933
6 changed files with 17 additions and 17 deletions
|
@ -128,7 +128,7 @@ def setup(verbosity, test_labels):
|
|||
# Load all the ALWAYS_INSTALLED_APPS.
|
||||
with warnings.catch_warnings():
|
||||
warnings.filterwarnings('ignore', 'django.contrib.comments is deprecated and will be removed before Django 1.8.', DeprecationWarning)
|
||||
app_cache.get_apps()
|
||||
app_cache.populate()
|
||||
|
||||
# Load all the test model apps.
|
||||
test_modules = get_test_modules()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue