This website requires JavaScript.
Explore
Help
Sign In
test0908
/
django
Watch
1
Star
0
Fork
You've already forked django
0
Code
Issues
Pull Requests
Projects
Releases
Wiki
Activity
250a3d1993
django
/
tests
/
utils_tests
/
test_module
/
another_good_module.py
8 lines
102 B
Python
Raw
Normal View
History
Unescape
Escape
Fixed #23670 -- Prevented partial import state during module autodiscovery Thanks kostko for the report.
2014-10-31 17:22:15 +08:00
from
.
import
site
Sorted imports with isort; refs #23860.
2015-01-28 20:35:27 +08: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.
2013-09-07 07:23:25 +08:00
content
=
'
Another Good Module
'
Fixed #23670 -- Prevented partial import state during module autodiscovery Thanks kostko for the report.
2014-10-31 17:22:15 +08:00
site
.
_registry
.
update
(
{
'
lorem
'
:
'
ipsum
'
,
}
)