Bit of an odd one. The tests work locally, but actually running django.setup() on Django 3 fail
django.setup() # Theoretically idempotent (except regarding logging?)
File "/usr/lib/python3.8/site-packages/django/__init__.py", line 24, in setup
apps.populate(settings.INSTALLED_APPS)
File "/usr/lib/python3.8/site-packages/django/apps/registry.py", line 91, in populate
app_config = AppConfig.create(entry)
File "/usr/lib/python3.8/site-packages/django/apps/config.py", line 116, in create
mod = import_module(mod_path)
File "/usr/lib64/python3.8/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
File "<frozen importlib._bootstrap>", line 991, in _find_and_load
File "<frozen importlib._bootstrap>", line 973, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'debug_toolbar_force.apps'
I kinda need it to be in INSTALLED_APPS, as I have a bit of voodoo to deselect panels automatically depending on whether they are in there or not.
Bit of an odd one. The tests work locally, but actually running
django.setup()
on Django 3 failI kinda need it to be in
INSTALLED_APPS
, as I have a bit of voodoo to deselect panels automatically depending on whether they are in there or not.