| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2021-02-10 | Fixed #32355 -- Dropped support for Python 3.6 and 3.7 | Mariusz Felisiak | |
| 2021-01-20 | Fixed isolation of utils_tests.test_autoreload tests. | Mariusz Felisiak | |
| 2021-01-18 | Fixed isolation of test_check_errors_catches_all_exceptions. | Mariusz Felisiak | |
| 2021-01-05 | Fixed #32314 -- Fixed detection when started non-django modules with "python ↵ | William Schwartz | |
| -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. | |||
| 2020-11-19 | Fixed #32202 -- Fixed autoreloader argument generation for Windows with ↵ | Carlton Gibson | |
| Python 3.7-. | |||
| 2020-11-05 | Fixed #25791 -- Implement autoreload behaviour for cached template loader. | Tom Forbes | |
| 2020-07-20 | Used context manager version of tempfile.TemporaryDirectory() in ↵ | Jon Dufresne | |
| utils_tests.test_autoreload. | |||
| 2020-07-20 | Used temporary directory in RestartWithReloaderTests.test_manage_py(). | Tom Forbes | |
| Using the current directory can cause a PermissionError. | |||
| 2020-06-18 | Fixed #31716 -- Fixed detection of console scripts in autoreloader on Windows. | Tom Forbes | |
| 2019-11-05 | Passed strict=True to Path.resolve() to enforce that the path must exist. | Jon Dufresne | |
| 2019-09-27 | Fixed #30810 -- Fixed ↵ | Pablo García | |
| WatchmanReloaderTests.test_setting_timeout_from_environment_variable test. client_timeout is an instance attribute. | |||
| 2019-08-23 | Replaced subprocess commands by run() wherever possible. | Claude Paroz | |
| 2019-07-24 | Fixed #30647 -- Fixed crash of autoreloader when extra directory cannot be ↵ | Tom Forbes | |
| resolved. | |||
| 2019-07-24 | Removed unused BaseReloader.watch_file(). | Mariusz Felisiak | |
| Unused since its introduction in c8720e7696ca41f3262d5369365cc1bd72a216ca. | |||
| 2019-07-23 | Fixed #30506 -- Fixed crash of autoreloader when path contains null characters. | Tom Forbes | |
| 2019-06-26 | Fixed #30588 -- Fixed crash of autoreloader when __main__ module doesn't ↵ | Tom Forbes | |
| have __file__ attribute. | |||
| 2019-05-29 | Fixed #30523 -- Fixed updating file modification times on seen files in ↵ | Tom Forbes | |
| auto-reloader when using StatReloader. Previously we updated the file mtimes if the file has not been seen before - i.e on the first iteration of the loop. If the mtime has been changed we triggered the notify_file_changed() method which in all cases except the translations will result in the process being terminated. To be strictly correct we need to update the mtime for either branch of the conditional. Regression in 6754bffa2b2df15a741008aa611c1bb0e8dff22b. | |||
| 2019-05-29 | Fixed #30516 -- Fixed crash of autoreloader when re-raising exceptions with ↵ | Tom Forbes | |
| custom signature. Regression in c8720e7696ca41f3262d5369365cc1bd72a216ca. | |||
| 2019-05-28 | Fixed #30479 -- Fixed detecting changes in manage.py by autoreloader when ↵ | Tom Forbes | |
| using StatReloader. Regression in c8720e7696ca41f3262d5369365cc1bd72a216ca. | |||
| 2019-04-29 | Fixed #30323 -- Fixed detecting changes by autoreloader when using StatReloader. | Tom Forbes | |
| 2019-04-26 | Fixed #30361 -- Increased the default timeout of watchman client to 5 ↵ | Jacob Green | |
| seconds and made it customizable. Made the default timeout of watchman client customizable via DJANGO_WATCHMAN_TIMEOUT environment variable. | |||
| 2019-04-24 | Fixed #30366 -- Skipped StatReloaderTests on HFS+ filesystems. | Martijn Jacobs | |
| When on MacOS High Sierra or below (<=10.13) it could be that a HFS+ filesystem is used. HFS+ has a time resolution of only one second which can be too low for some of the tests. | |||
| 2019-03-15 | Cleaned up exception message checking in some tests. | Jon Dufresne | |
| 2019-02-27 | Fixed #30215 -- Fixed autoreloader crash for modules without __spec__. | shiningfm | |
| Regression in c8720e7696ca41f3262d5369365cc1bd72a216ca. | |||
| 2019-02-11 | Fixed spelling mistakes in comments and tests. | Semen Zhydenko | |
| 2019-01-28 | Fixed #25624 -- Fixed autoreload crash with jinja2.ModuleLoader. | Tom Forbes | |
| 2019-01-13 | Fixed #27685 -- Added watchman support to the autoreloader. | Tom Forbes | |
| Removed support for pyinotify (refs #9722). | |||
| 2017-11-06 | Fixed #28501 -- Fixed "python -m django runserver" crash. | Yusuke Miyazaki | |
| 2017-11-06 | Added RestartWithReloaderTests. | Yusuke Miyazaki | |
| 2017-01-20 | Refs #23919 -- Removed django.test.mock Python 2 compatibility shim. | Tim Graham | |
| 2017-01-20 | Refs #23919 -- Removed django.utils._os.upath()/npath()/abspathu() usage. | Tim Graham | |
| These functions do nothing on Python 3. | |||
| 2017-01-18 | Refs #23919 -- Removed most of remaining six usage | Claude Paroz | |
| Thanks Tim Graham for the review. | |||
| 2016-12-22 | Added tests for django.utils.autoreload. | Phil Tysoe | |
| 2016-11-10 | Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. | za | |
| 2015-08-29 | Made the autoreloader survive all exceptions. | Aymeric Augustin | |
| Refs #24704. | |||
| 2015-08-29 | Ensured gen_filenames() yields native strings. | Aymeric Augustin | |
| This also fixes a test failure on Python 2 when Django is installed in a non-ASCII path. This problem cannot happen on Python 3. | |||
| 2015-08-29 | Refactored autoreload tests. | Aymeric Augustin | |
| * Added helpers to test uncached and cached access. * Fixed test_project_root_locale: it duplicated test_locale_paths_setting. * Rewrote test_only_new_files: test more cases. | |||
| 2015-08-29 | Accounted for error files in the autoreloader. | Aymeric Augustin | |
| * When some old files contain errors, the second call to gen_filenames() should return them. * When some new files contain errors, the first call to gen_filenames(only_new=True) should return them. | |||
| 2015-05-20 | Refs #24652 -- Used SimpleTestCase where appropriate. | Simon Charette | |
| 2015-02-23 | Normalized usage of the tempfile module. | Aymeric Augustin | |
| Specifically stopped using the dir argument. | |||
| 2015-02-17 | Refs #24324 -- Fixed Python 2 test failures when path to Django source ↵ | Tim Graham | |
| contains non-ASCII characters. | |||
| 2015-02-06 | Sorted imports with isort; refs #23860. | Tim Graham | |
| 2015-02-03 | Fixed #24149 -- Normalized tuple settings to lists. | darkryder | |
| 2014-07-30 | Fixed test failure on Windows. | Tim Graham | |
| os.close(fd) is needed to avoid "The process cannot access the file because it is being used by another process" | |||
| 2014-07-25 | Fixed bad usage of rstrip() that caused test failure. | Tim Graham | |
| If the temporary file name contained a p or y as its last characters, it would be stripped. refs #23083. | |||
| 2014-07-25 | Fixed #23083 -- Fixed runserver reloading when deleting a file. | Tim Graham | |
| Thanks Collin Anderson for the report and hirokiky for the fix. | |||
| 2014-07-15 | Fixed #22991 -- Prevented *.pyc files in autoreload monitoring | Claude Paroz | |
| This fixes a regression introduced in 6d302f639. Thanks lorinkoz at gmail.com for the report, Collin Anderson for the initial patch and Simon Charette for the review. | |||
| 2014-07-07 | Fixed flake8 errors. | Tim Graham | |
| 2014-07-06 | Fixed pyinotify performance regression in 15f82c7011 | Claude Paroz | |
| Refs #9722. Thanks Tim Graham for the review. | |||
| 2013-12-23 | Dropped AppCache._empty, _with_app and _without_app. | Aymeric Augustin | |
| It's now easier to achieve the same effect with modify_settings or override_settings. | |||
