| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2021-05-12 | Fixed #32366 -- Updated datetime module usage to recommended approach. | Nick Pope | |
| - Replaced datetime.utcnow() with datetime.now(). - Replaced datetime.utcfromtimestamp() with datetime.fromtimestamp(). - Replaced datetime.utctimetuple() with datetime.timetuple(). - Replaced calendar.timegm() and datetime.utctimetuple() with datetime.timestamp(). | |||
| 2021-05-12 | Fixed #32735 -- Made DateFormat.Y() return a zero-padded year. | Nick Pope | |
| 2021-05-07 | Fixed #32712 -- Deprecated django.utils.baseconv module. | Hasan Ramezani | |
| 2021-05-04 | Refs #32074 -- Removed usage of deprecated Thread.setDaemon(). | Karthikeyan Singaravelan | |
| Thread.setDaemon() was deprecated in Python 3.10 and will be removed in Python 3.12. | |||
| 2021-05-04 | Fixed CVE-2021-31542 -- Tightened path & file name sanitation in file uploads. | Florian Apolloner | |
| 2021-04-10 | Fixed #31937 -- Eased translation of time strings in some languages. | Claude Paroz | |
| 2021-03-22 | Refs #31732 -- Fixed django.utils.inspect caching for bound methods. | Adam Johnson | |
| Thanks Alexandr Artemyev for the report, and Simon Charette for the original patch. | |||
| 2021-03-22 | Refs #31372 -- Added django.utils.inspect tests for bound methods. | Adam Johnson | |
| 2021-03-15 | Refs #32508 -- Raised ValueError instead of using "assert" in lazy(). | Hasan Ramezani | |
| 2021-03-15 | Added tests for AssertionErrors in get_complete_version() and ↵ | Hasan Ramezani | |
| _lazy_re_compile(). | |||
| 2021-03-10 | Refs #24121 -- Added __repr__() to OrderedSet. | Nick Pope | |
| 2021-03-09 | Updated Git branch "master" to "main". | Markus Holtermann | |
| This change follows a long discussion on django-develops: https://groups.google.com/g/django-developers/c/tctDuKUGosc/ | |||
| 2021-03-08 | Fixed #32517 -- Made OrderedSet reversible. | Diego Lima | |
| Refs #32516. | |||
| 2021-02-10 | Fixed #32355 -- Dropped support for Python 3.6 and 3.7 | Mariusz Felisiak | |
| 2021-02-04 | Skipped test_archive tests when bz2/lzma module is not installed. | Mariusz Felisiak | |
| 2021-02-01 | Fixed CVE-2021-3281 -- Fixed potential directory-traversal via ↵ | Mariusz Felisiak | |
| archive.extract(). Thanks Florian Apolloner, Shai Berger, and Simon Charette for reviews. Thanks Wang Baohua for the report. | |||
| 2021-01-20 | Fixed isolation of utils_tests.test_autoreload tests. | Mariusz Felisiak | |
| 2021-01-19 | Refs #32365 -- Allowed use of non-pytz timezone implementations. | Paul Ganssle | |
| 2021-01-18 | Fixed isolation of test_check_errors_catches_all_exceptions. | Mariusz Felisiak | |
| 2021-01-14 | Refs #31359 -- Made get_random_string()'s length argument required. | Mariusz Felisiak | |
| Per deprecation timeline. | |||
| 2021-01-14 | Refs #30747 -- Removed django.utils.http.is_safe_url() per deprecation timeline. | Mariusz Felisiak | |
| 2021-01-14 | Refs #27753 -- Removed django.utils.text.unescape_entities() per deprecation ↵ | Mariusz Felisiak | |
| timeline. | |||
| 2021-01-14 | Refs #27753 -- Removed django.utils.encoding.force_text() and smart_text() ↵ | Mariusz Felisiak | |
| per deprecation timeline. | |||
| 2021-01-14 | Refs #27753 -- Removed django.utils.http urllib aliases per deprecation ↵ | Mariusz Felisiak | |
| timeline. | |||
| 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-12-21 | Fixed #32269 -- Fixed parse_duration() for negative days in ISO 8601 format. | starryrbs | |
| 2020-12-21 | Added more assertions for parse_duration() with negative timedeltas. | starryrbs | |
| 2020-12-21 | Fixed #32208 -- Allowed adding lazy() objects. | Hasan Ramezani | |
| Co-authored-by: Claude Paroz <claude@2xlibre.net> | |||
| 2020-12-08 | Fixed #32233 -- Cleaned-up duplicate connection functionality. | Florian Apolloner | |
| 2020-11-19 | Fixed #32202 -- Fixed autoreloader argument generation for Windows with ↵ | Carlton Gibson | |
| Python 3.7-. | |||
| 2020-11-12 | Simplified TimeFormat.g(). | Nick Pope | |
| 2020-11-12 | Fixed #32149 -- Added support for years < 1000 to DateFormat.y(). | Sam | |
| 2020-11-05 | Fixed #25791 -- Implement autoreload behaviour for cached template loader. | Tom Forbes | |
| 2020-10-30 | Updated MultiValueDict.update() to mirror dict.update() behavior. | Nick Pope | |
| Changes in behavior include: - Accepting iteration over empty sequences, updating nothing. - Accepting iterable of 2-tuples providing key-value pairs. - Failing with the same or comparable exceptions for invalid input. Notably this replaces the previous attempt to catch TypeError which was unreachable as the call to .items() resulted in AttributeError on non-dict objects. | |||
| 2020-10-30 | Increased test coverage for django.utils.datastructures.MultiValueDict. | Nick Pope | |
| Co-authored-by: Mads Jensen <mje@inducks.org> | |||
| 2020-10-30 | Increased test coverage for django.utils.datastructures.OrderedSet. | Mads Jensen | |
| Co-authored-by: Nick Pope <nick.pope@flightdataservices.com> | |||
| 2020-10-05 | Refs #29838, Refs #28507 -- Made make_hashable() ignore key order. | Simon Charette | |
| 2020-09-03 | Refs #21231 -- Backport urllib.parse.parse_qsl() from Python 3.8. | Nick Pope | |
| 2020-07-29 | Completed test coverage for colorize(). | David Smith | |
| 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-07-16 | Fixed #31623 -- Allowed specifying number of adjacent time units in ↵ | Tim Park | |
| timesince()/timeuntil(). | |||
| 2020-06-29 | Fixed #30807 -- Fixed TestArchive.test_extract_file_permissions() when umask ↵ | Ad Timmering | |
| is 0o000. Fixed test that checks permissions on files extracted from archives with no permissions set, to not assume a default umask of 0o002. Test regression in c95d063e776e849cf1a0bf616c654165cb89c706. | |||
| 2020-06-18 | Fixed #31716 -- Fixed detection of console scripts in autoreloader on Windows. | Tom Forbes | |
| 2020-06-04 | Refs #27804 -- Used subTest() in tests.utils_tests.test_text. | Jon Dufresne | |
| 2020-05-29 | Fixed #28694 -- Made django.utils.text.slugify() strip dashes and underscores. | David Smith | |
| 2020-05-29 | Added more tests for slugify(). | David Smith | |
| 2020-05-12 | Fixed E128, E741 flake8 warnings. | Mariusz Felisiak | |
| 2020-05-04 | Refs #30573 -- Rephrased "Of Course" and "Obvious(ly)" in documentation and ↵ | Adam Johnson | |
| comments. | |||
| 2020-05-04 | Corrected opts argument of colorize in ↵ | Rasmus Wriedt Larsen | |
| TermColorTests.test_colorize_empty_text(). | |||
