summaryrefslogtreecommitdiff
path: root/tests/utils_tests/test_module
Commit message (Collapse)AuthorAgeFilesLines
* Refs #33476 -- Reformatted code with Black.django-bot2022-02-075-12/+16
|
* Fixed #32669 -- Fixed detection when started non-django modules which aren't ↵Moriyoshi Koizumi2021-05-261-0/+0
| | | | packages with "python -m" in autoreloader.
* Fixed #32314 -- Fixed detection when started non-django modules with "python ↵William Schwartz2021-01-051-0/+0
| | | | | | | | | | | | -m" in autoreloader. django.utils.autoreload.get_child_arguments() detected when Python was started with the `-m` option only for `django` module. This commit changes the logic to check __spec__, see https://docs.python.org/3/reference/import.html#main-spec Now packages can implement their own __main__ with the runserver command.
* Fixed #28241 -- Allowed module_has_submodule()'s module_name arg to be a ↵Thomas Khyn2017-06-082-0/+1
| | | | dotted path.
* Refs #23919 -- Stopped inheriting from object to define new style classes.Simon Charette2017-01-191-1/+1
|
* Fixed E305 flake8 warnings.Ramin Farajpour Cami2016-11-141-0/+2
|
* Sorted imports with isort; refs #23860.Tim Graham2015-02-062-0/+2
|
* Fixed #23670 -- Prevented partial import state during module autodiscoveryMarkus Holtermann2014-10-311-0/+5
| | | | Thanks kostko for the report.
* Revert "Fixed #20477: Allowed settings.FORMAT_MODULE_PATH to be a list of ↵Tim Graham2014-05-196-4/+0
| | | | | | modules." This reverts commit 950b6de16ac2f8135612f2ed5984c090dd8e4dcf.
* Fixed #20477: Allowed settings.FORMAT_MODULE_PATH to be a list of modules.Martin Brochhaus2014-05-196-0/+4
| | | | | | | | | Previously the FORMAT_MODULE_PATH setting only accepted one string (dotted module path). This is useful when using several reusable third party apps that define new formats. We can now use them all and we can even override some of the formats by providing a project-wide format module.
* Fixed #21302 -- Fixed unused imports and import *.Tim Graham2013-11-021-1/+1
|
* Whitespace cleanup.Tim Graham2013-10-102-2/+2
| | | | | | | * Removed trailing whitespace. * Added newline to EOF if missing. * Removed blank lines at EOF. * Removed some stray tabs.
* Fixed #21060 -- Refactored admin's autodiscover method to make it reusable.Juan Catalano2013-09-133-0/+12
| | | | | | | | 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.
* Renamed some tests and removed references to modeltests/regressiontests.Florian Apolloner2013-02-263-0/+4