mirror of
https://github.com/django/django.git
synced 2025-07-23 05:05:17 +00:00

We want to be able to use it for instance for discovering `tasks.py` modules inside the INSTALLED_APPS. This commit therefore moves the logic to `autodiscover_modules` method in django.utils.module_loading.
3 lines
61 B
Python
3 lines
61 B
Python
class SiteMock(object):
|
|
_registry = {}
|
|
site = SiteMock()
|