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:
Aymeric Augustin 2013-12-14 09:50:28 +01:00
parent ebda5800ae
commit d44de9b933
6 changed files with 17 additions and 17 deletions

View file

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