This website requires JavaScript.
Explore
Help
Register
Sign In
mirrors
/
django
Watch
1
Star
0
Fork
0
You've already forked django
mirror of
https://github.com/django/django.git
synced
2024-12-30 13:05:45 +00:00
Code
Issues
30
Releases
Wiki
Activity
e63d9b98e7
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 09:22:15 +00:00
from
.
import
site
[1.8.x] Sorted imports with isort; refs #23860. Backport of 0ed7d155635da9f79d4dd67e4889087d3673c6da from master
2015-02-09 18:19:34 +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.
2013-09-06 23:23:25 +00:00
content
=
'
Another Good Module
'
Fixed #23670 -- Prevented partial import state during module autodiscovery Thanks kostko for the report.
2014-10-31 09:22:15 +00:00
site
.
_registry
.
update
(
{
'
lorem
'
:
'
ipsum
'
,
}
)
Reference in New Issue
Copy Permalink