| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2021-05-27 | Refs #32596 -- Added extra tests for CsrfViewMiddleware's referer logic. | Chris Jerdonek | |
| 2021-05-26 | Fixed #32762 -- Fixed locale reset in compilemessages test. | Nilo César Teixeira | |
| Reset the `LC_ALL` override value in the test environment to ensure that locale values the calling environment are not used. | |||
| 2021-05-26 | Fixed #32669 -- Fixed detection when started non-django modules which aren't ↵ | Moriyoshi Koizumi | |
| packages with "python -m" in autoreloader. | |||
| 2021-05-26 | Fixed #32772 -- Made database cache count size once per set. | Michael Lissner | |
| 2021-05-26 | Fixed #32783 -- Fixed crash of autoreloader when __main__ module doesn't ↵ | Mariusz Felisiak | |
| have __spec__ attribute. Regression in ec6d2531c59466924b645f314ac33f54470d7ac3. Thanks JonathanNickelson for the report. | |||
| 2021-05-26 | Fixed #32543 -- Added search_help_text to ModelAdmin. | Hasan Ramezani | |
| 2021-05-26 | Fixed #32744 -- Normalized to pathlib.Path in autoreloader check for ↵ | Hasan Ramezani | |
| template changes. | |||
| 2021-05-25 | Refs #32379 -- Added USE_TZ settings to AdminScriptTestCase.write_settings(). | Mariusz Felisiak | |
| 2021-05-25 | Fixed #32780 -- Made Add/RemoveConstraint operations a noop for ↵ | Hannes Ljungberg | |
| covering/deferrable unique constraints on SQLite. | |||
| 2021-05-24 | Refs #24121 -- Added __repr__() to Lookup. | saeedblanchette | |
| 2021-05-24 | Refs #24121 -- Improved Value.__repr__(). | Mariusz Felisiak | |
| 2021-05-24 | Fixed typo in tests/expressions/tests.py. | Mariusz Felisiak | |
| 2021-05-24 | Fixed #32777 -- Passed table reference as a string to ↵ | Hannes Ljungberg | |
| DatabaseSchemaEditor._index_columns(). | |||
| 2021-05-21 | Fixed #32503 -- Fixed altering BLOB/TEXT field to non-nullable with default ↵ | Yuekui Li | |
| on MySQL 8.0.13+. MySQL 8.0.13+ supports defaults for BLOB/TEXT but not in the ALTER COLUMN statement. Regression in 6b16c91157512587017e9178d066ed1a683e7795. Thanks Matt Westcott for the report. | |||
| 2021-05-21 | Fixed #32375 -- Started deprecation toward changing the default sitemap ↵ | Rohith PR | |
| protocol to https. The default sitemap protocol, when it is built outside the context of a request, will be changed from 'http' to 'https' in Django 5.0. | |||
| 2021-05-21 | Added tests for Sitemap.get_protocol(). | Rohith PR | |
| 2021-05-20 | Renamed "object" argument of ModelAdmin.log_addition(), log_change(), and ↵ | David Sanders | |
| log_deletion() methods. | |||
| 2021-05-20 | Fixed #32771 -- Used IS_POPUP_VAR constant instead of hard-coded value. | David Sanders | |
| 2021-05-19 | Fixed #32765 -- Removed "for" HTML attribute from ReadOnlyPasswordHashWidget. | David Sanders | |
| ReadOnlyPasswordHashWidget doesn't have any labelable elements. | |||
| 2021-05-18 | Fixed #32379 -- Started deprecation toward changing default USE_TZ to True. | Claude Paroz | |
| Co-authored-by: Nick Pope <nick@nickpope.me.uk> Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com> | |||
| 2021-05-18 | Fixed #32747 -- Prevented initialization of unused caches. | Mariusz Felisiak | |
| Thanks Alexander Ebral for the report. Regression in 98e05ccde440cc9b768952cc10bc8285f4924e1f. | |||
| 2021-05-18 | Fixed #32733 -- Skipped system check for specifying type of auto-created ↵ | Rust Saiargaliev | |
| primary keys on abstract models. Regression in b5e12d490af3debca8c55ab3c1698189fdedbbdb. | |||
| 2021-05-18 | Refs #31007 -- Added test for check for specifying type of auto-created ↵ | Rust Saiargaliev | |
| primary keys from abstract models. | |||
| 2021-05-18 | Fixed #32754 -- Made AdminSite.catch_all_view() respect SCRIPT_NAME. | Slava Skvortsov | |
| Regression in ba31b0103442ac891fb3cb98f316781254e366c3. | |||
| 2021-05-17 | Fixed #32750 -- Fixed crash of Extract() transform on OuterRef() expressions. | Artur Beltsov | |
| Thanks Simon Charette for the review. | |||
| 2021-05-14 | Fixed #32734 -- Fixed validation of startapp's directory with trailing slash. | Rohith PR | |
| Regression in fc9566d42daf28cdaa25a5db1b5ade253ceb064f. | |||
| 2021-05-14 | Fixed #32721 -- Fixed migrations crash when adding namespaced spatial ↵ | snowman2 | |
| indexes on PostGIS. | |||
| 2021-05-13 | Refs #16455 -- Added test for using opclasses on indexes for ↵ | Mariusz Felisiak | |
| multidimensional geometry fields on PostGIS. | |||
| 2021-05-13 | Fixed #32718 -- Relaxed file name validation in FileField. | Mariusz Felisiak | |
| - Validate filename returned by FileField.upload_to() not a filename passed to the FileField.generate_filename() (upload_to() may completely ignored passed filename). - Allow relative paths (without dot segments) in the generated filename. Thanks to Jakub Kleň for the report and review. Thanks to all folks for checking this patch on existing projects. Thanks Florian Apolloner and Markus Holtermann for the discussion and implementation idea. Regression in 0b79eb36915d178aef5c6a7bbce71b1e76d376d3. | |||
| 2021-05-13 | Fixed #32717 -- Fixed filtering of querysets combined with the | operator. | Simon Charette | |
| Address a long standing bug in a Where.add optimization to discard equal nodes that was surfaced by implementing equality for Lookup instances in bbf141bcdc31f1324048af9233583a523ac54c94. Thanks Shaheed Haque for the report. | |||
| 2021-05-13 | Fixed #32031 -- Added model class for each model to AdminSite.each_context(). | Raffaele Salmaso | |
| 2021-05-12 | Fixed #32738 -- Deprecated django.utils.datetime_safe module. | Nick Pope | |
| 2021-05-12 | Refs #32738 -- Added sanitize_strftime_format() to replace datetime_safe. | Nick Pope | |
| 2021-05-12 | Refs #32738, Refs #29600, Refs #29595 -- Removed unused ↵ | Nick Pope | |
| django.utils.datetime_safe.time(). Unused since c72dde41e603093ab0bb12fa24fa69cfda0d35f9. | |||
| 2021-05-12 | Fixed #32732 -- Removed usage of deprecated 'db' and 'passwd' connection ↵ | Nick Pope | |
| options in MySQL backend. The 'db' and 'passwd' connection options have been deprecated, use 'database' and 'password' instead (available since mysqlclient >= 1.3.8). This also allows the 'database' option in DATABASES['OPTIONS'] on MySQL. | |||
| 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 | Added extra assertion to ↵ | Nick Pope | |
| migrations.test_writer.WriterTests.test_serialize_datetime. This checks that datetime.timezone.utc serializes correctly. | |||
| 2021-05-12 | Refs #24121 -- Added__repr__() to StaticNode. | saeedblanchette | |
| 2021-05-12 | Fixed #32735 -- Made DateFormat.Y() return a zero-padded year. | Nick Pope | |
| 2021-05-11 | Fixed #32722 -- Fixed comparing to TruncTime() on Oracle. | Mariusz Felisiak | |
| 2021-05-07 | Fixed #32670 -- Allowed GDALRasters to use any GDAL virtual filesystem. | Jordi Castells | |
| 2021-05-07 | Fixed #32712 -- Deprecated django.utils.baseconv module. | Hasan Ramezani | |
| 2021-05-07 | Fixed #32699 -- Fixed comparing to TruncTime() with 0 microseconds on MySQL. | Alex Hill | |
| 2021-05-06 | Removed unused TestHashedFiles._max_post_process_passes. | Mariusz Felisiak | |
| Unused since f1894bae3071da4ee577fc40ae61491f3e03d82c | |||
| 2021-05-06 | Fixed #32713, Fixed CVE-2021-32052 -- Prevented newlines and tabs from being ↵ | Mariusz Felisiak | |
| accepted in URLValidator on Python 3.9.5+. In Python 3.9.5+ urllib.parse() automatically removes ASCII newlines and tabs from URLs [1, 2]. Unfortunately it created an issue in the URLValidator. URLValidator uses urllib.urlsplit() and urllib.urlunsplit() for creating a URL variant with Punycode which no longer contains newlines and tabs in Python 3.9.5+. As a consequence, the regular expression matched the URL (without unsafe characters) and the source value (with unsafe characters) was considered valid. [1] https://bugs.python.org/issue43882 and [2] https://github.com/python/cpython/commit/76cd81d60310d65d01f9d7b48a8985d8ab89c8b4 | |||
| 2021-05-06 | Refs CVE-2021-31542 -- Skipped mock AWS storage test on Windows. | Carlton Gibson | |
| The validate_file_name() sanitation introduced in 0b79eb36915d178aef5c6a7bbce71b1e76d376d3 correctly rejects the example file name as containing path elements on Windows. This breaks the test introduced in 914c72be2abb1c6dd860cb9279beaa66409ae1b2 to allow path components for storages that may allow them. Test is skipped pending a discussed storage refactoring to support this use-case. | |||
| 2021-05-05 | Fixed #32705 -- Prevented database cache backend from checking .rowcount on ↵ | ecogels | |
| closed cursor. Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com> | |||
| 2021-05-05 | Fixed #32690 -- Fixed __in lookup crash when combining with filtered aggregates. | Simon Charette | |
| Having lookups group by subquery right-hand-sides is likely unnecessary in the first place but relatively large amount of work would be needed to achieve that such as making Lookup instances proper resolvable expressions. Regression in 35431298226165986ad07e91f9d3aca721ff38ec. Thanks James A. Munsch for the report. | |||
| 2021-05-05 | Fixed #32479 -- Added fallbacks to subsequent language codes in translations. | Maxim Beder | |
| Thanks Claude Paroz and Nick Pope for reviews. | |||
| 2021-05-05 | Fixed #32714 -- Prevented recreation of migration for Meta.ordering with ↵ | Simon Charette | |
| OrderBy expressions. Regression in c8b659430556dca0b2fe27cf2ea0f8290dbafecd. Thanks Kevin Marsh for the report. | |||
