This website requires JavaScript.
Explore
Help
Sign In
innov
/
django1
Watch
1
Star
0
Fork
You've already forked django1
0
Code
Issues
Pull Requests
1
Projects
Releases
Wiki
Activity
3222fc7943
django1
/
tests
/
utils_tests
/
test_module
/
__init__.py
4 lines
61 B
Python
Raw
Normal View
History
Unescape
Escape
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.
2013-09-07 07:23:25 +08:00
class
SiteMock
(
object
)
:
_registry
=
{
}
site
=
SiteMock
(
)