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-28 20:16:19 +00:00
Code
Issues
30
Releases
Wiki
Activity
ec50937bcb
django
/
tests
/
utils_tests
/
test_module
/
__init__.py
6 lines
55 B
Python
Raw
Normal View
History
Unescape
Escape
Refs #23919 -- Stopped inheriting from object to define new style classes.
2017-01-19 07:39:46 +00:00
class
SiteMock
:
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
_registry
=
{
}
Fixed E305 flake8 warnings.
2016-11-12 17:11:23 +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
site
=
SiteMock
(
)
Reference in New Issue
Copy Permalink