1
0
mirror of https://github.com/django/django.git synced 2025-01-07 17:06:04 +00:00
django/tests/utils_tests
William Schwartz ec6d2531c5 Fixed #32314 -- Fixed detection when started non-django modules with "python -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.
2021-01-05 21:03:29 +01:00
..
archives
eggs
files
test_module Fixed #32314 -- Fixed detection when started non-django modules with "python -m" in autoreloader. 2021-01-05 21:03:29 +01:00
__init__.py
models.py
test_archive.py
test_autoreload.py Fixed #32314 -- Fixed detection when started non-django modules with "python -m" in autoreloader. 2021-01-05 21:03:29 +01:00
test_baseconv.py
test_connection.py
test_crypto.py
test_datastructures.py
test_dateformat.py
test_dateparse.py Fixed #32269 -- Fixed parse_duration() for negative days in ISO 8601 format. 2020-12-21 10:28:07 +01:00
test_datetime_safe.py
test_decorators.py
test_duration.py
test_encoding_deprecations.py
test_encoding.py
test_feedgenerator.py
test_functional.py
test_hashable.py
test_html.py
test_http.py
test_inspect.py
test_ipv6.py
test_jslex.py
test_lazyobject.py
test_lorem_ipsum.py
test_module_loading.py
test_no_submodule.py
test_numberformat.py
test_os_utils.py
test_regex_helper.py
test_safestring.py
test_simplelazyobject.py
test_termcolors.py
test_text.py
test_timesince.py
test_timezone.py
test_topological_sort.py
test_tree.py
utils.py