mirror of
https://github.com/django/django.git
synced 2025-07-24 13:44:32 +00:00
Moved the new app cache inside core.
This commit is contained in:
parent
b3d5efe23f
commit
4a56a93cc4
64 changed files with 69 additions and 69 deletions
|
@ -80,14 +80,14 @@ def get_test_modules():
|
|||
|
||||
|
||||
def get_installed():
|
||||
from django.apps import app_cache
|
||||
from django.core.apps import app_cache
|
||||
return [app_config.name for app_config in app_cache.get_app_configs()]
|
||||
|
||||
|
||||
def setup(verbosity, test_labels):
|
||||
import django
|
||||
from django.apps import app_cache
|
||||
from django.conf import settings
|
||||
from django.core.apps import app_cache
|
||||
from django.test import TransactionTestCase, TestCase
|
||||
|
||||
print("Testing against Django installed in '%s'" % os.path.dirname(django.__file__))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue