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:
Juan Catalano 2013-09-06 20:23:25 -03:00 committed by Tim Graham
parent 39b49fd339
commit 6feb75129f
6 changed files with 82 additions and 30 deletions

View file

@ -0,0 +1 @@
content = 'Another Good Module'