mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed #21060 -- Refactored admin's autodiscover method to make it reusable.
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.
This commit is contained in:
committed by
Tim Graham
parent
39b49fd339
commit
6feb75129f
1
tests/utils_tests/test_module/another_good_module.py
Normal file
1
tests/utils_tests/test_module/another_good_module.py
Normal file
@@ -0,0 +1 @@
|
||||
content = 'Another Good Module'
|
||||
Reference in New Issue
Block a user