| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2024-04-05 | Fixed #35354 -- Simplified ASGIRequest path handling. | Carlton Gibson | |
| Following the ASGI HTTP Connection Scope docs[0], the provided `path` is already the correct value that Django requires. In combination with `root_path`, from which `script_name` is derived, the `path_info` variable is set. It's then redundant to re-calculate `path` from `script_name` and `path_info`. See also, a clarifying discussion on the ASGIref repo[1]. [0]: https://asgi.readthedocs.io/en/latest/specs/www.html#http-connection-scope [1]: https://github.com/django/asgiref/issues/424 | |||
| 2024-04-05 | Refs #35169 -- Added test for ASGIRequest root_path handling. | Carlton Gibson | |
| 2024-04-03 | Fixed SeleniumTests.test_related_object_update_with_camel_casing() assert. | Sarah Boyce | |
| A selenium web element was compared to a string rather than its innerHTML. | |||
| 2024-04-02 | Fixed #35330 -- Fixed the update of related widgets when the referenced ↵ | devin13cox | |
| model is camel case named. Co-authored-by: Natalia <124304+nessita@users.noreply.github.com> | |||
| 2024-04-02 | Fixed #35336 -- Addressed crash when adding a GeneratedField with % literals. | Simon Charette | |
| A longer term solution is likely to have a better separation of parametrized DDL altogether to handle checks, constraints, defaults, and generated fields but such a change would require a significant refactor that isn't suitable for a backport. Thanks Adrian Garcia for the report. | |||
| 2024-04-01 | Fixed #35344, Refs #34838 -- Corrected output_field of resolved columns for ↵ | Johannes Westphal | |
| GeneratedFields in aliased tables. Thanks Simon Charette for the review. | |||
| 2024-03-27 | Fixed #34977 -- Improved accessibility in the UserChangeForm by replacing ↵ | Fabian Braun | |
| the reset password link with a button. Co-authored-by: Natalia <124304+nessita@users.noreply.github.com> | |||
| 2024-03-27 | Fixed #35233 -- Moved template engine system checks to backend methods. | Giannis Terzopoulos | |
| Thanks Adam Johnson for reviews. | |||
| 2024-03-26 | Fixed #35329 -- Fixed migrations crash when adding partial unique ↵ | Mariusz Felisiak | |
| constraints with nulls_distinct. Bug in 595a2abb58e04caa4d55fb2589bb80fb2a8fdfa1. Thanks Lucas Lemke Saunitti for the report. | |||
| 2024-03-25 | Increased test coverage for django.db.migrations.operations.special. | Mariusz Felisiak | |
| 2024-03-24 | Fixed #35323 -- Prevented file_move_safe() from trying to overwrite existing ↵ | Ben Cail | |
| file when allow_overwrite is False. | |||
| 2024-03-22 | Added ModelState.from_model() test for abstract model with unnamed indexes. | Mariusz Felisiak | |
| 2024-03-21 | Fixed #35257 -- Corrected resolving output_field for ↵ | sharonwoo | |
| IntegerField/DecimalField with NULL. | |||
| 2024-03-20 | Fixed ResourceWarning from unclosed SQLite connection in test_utils on ↵ | Mariusz Felisiak | |
| Python 3.13+. On SQLite, close() doesn't explicitly close in-memory connections. Follow up to 921670c6943e9c532137b7d164885f2d3ab436b8 and dd45d5223b3c5640baefcb591782bbcff873b6bf. | |||
| 2024-03-20 | Fixed #35309 -- Made prefetch clear ordering for single-valued relationships. | Laurent Lyaudet | |
| 2024-03-19 | Fixed ResourceWarning from unclosed SQLite connection on Python 3.13+. | Mariusz Felisiak | |
| On SQLite, close() doesn't explicitly close in-memory connections. Follow up to dd45d5223b3c5640baefcb591782bbcff873b6bf. | |||
| 2024-03-18 | Refs #31014 -- Added srid argument to FromWKB/FromWKT() GIS functions. | Claude Paroz | |
| 2024-03-17 | Fixed #35301 -- Fixed Options._property_names for overriden properties. | Adam Johnson | |
| Regression in faeb92ea13f0c1b2cc83f45b512f2c41cfb4f02d. | |||
| 2024-03-15 | Fixed #35294 -- Fixed TEXT format of QuerySet.explain() for long plans. | Adam Johnson | |
| co-authored-by: Gordon <gordon.wrigley@gmail.com> co-authored-by: Simon Charette <charette.s@gmail.com> | |||
| 2024-03-14 | Fixed #28541 -- Fixed migrations crash when changing primary key on SQLite. | Ben Cail | |
| 2024-03-14 | Refs #34488 -- Made ClearableFileInput preserve "Clear" checked attribute ↵ | Johannes Maron | |
| when form is invalid. | |||
| 2024-03-14 | Fixed #35273 -- Fixed rendering AdminFileWidget's attributes. | Johannes Maron | |
| Regression in 8a6c0203c4e92908c2b26ba54feba4ce7e76d081. | |||
| 2024-03-13 | Fixed #34901 -- Added async-compatible interface to session engines. | Jon Janzen | |
| Thanks Andrew-Chen-Wang for the initial implementation which was posted to the Django forum thread about asyncifying contrib modules. | |||
| 2024-03-13 | Refs #32673, Refs #35295 -- Avoided wrapping rhs direct values in lookups. | Mariusz Felisiak | |
| 2024-03-10 | Applied BoundingCircle test to only one country. | Claude Paroz | |
| Looks like testing the second Country is much more computing-intensive and brings nothing to the test. | |||
| 2024-03-08 | Fixed #35044 -- Avoided clearing reverse relations and private fields when ↵ | Giannis Terzopoulos | |
| accessing deferred fields. Regression in a7b5ad8b19a08d7d57302ece74f6e26d2887fd9f for reverse relations and possibly in 123b1d3fcf79f091573c40be6da7113a6ef35b62 for private fields. | |||
| 2024-03-08 | Refs #35044 -- Added Model.refresh_from_db(fields=...) test for clearing ↵ | Giannis Terzopoulos | |
| reverse relations. | |||
| 2024-03-08 | Fixed #35223 -- Made Model.full_clean() ignore fields with db_default when ↵ | Ben Cail | |
| validating empty values. Thanks Brian Ibbotson for the report. Regression in 7414704e88d73dafbcfbb85f9bc54cb6111439d3. | |||
| 2024-03-07 | Fixed #35030 -- Made django.contrib.auth decorators to work with async ↵ | Dingning | |
| functions. | |||
| 2024-03-07 | Fixed typos in docstrings and docs. | cuinix | |
| Signed-off-by: cuinix <915115094@qq.com> | |||
| 2024-03-06 | Refs #35030 -- Added more tests for @user_passes_test decorator. | Mariusz Felisiak | |
| 2024-03-06 | Fixed #35021 -- Fixed capturing queries when using client-side parameters ↵ | Michail Chatzis | |
| binding with psycopg 3+. | |||
| 2024-03-05 | Fixed #35252 -- Optimized _route_to_regex(). | Adam Johnson | |
| co-authored-by: Nick Pope <nick@nickpope.me.uk> | |||
| 2024-03-05 | Used sys_platform in tests requirements. | Mariusz Felisiak | |
| We already use implementation_name and python_version markers so it's more consistent. Moreover, marker values can be specified via pip's command line options. | |||
| 2024-03-04 | Refs #21286 -- Removed invalid commented out models and tests from ↵ | Adam Zapletal | |
| serializer tests. FileField/ImageField cannot be primary keys, so serialization support for this case will not be implemented. XMLField was removed in d1290b5b43485c7018ba92981d34c1f96614924e. | |||
| 2024-03-04 | Updated fuzzy translations in tests.i18n.patterns. | Mariusz Felisiak | |
| Follow up to 9fd1b6f3f815aebee7f67eed5510c720be6d0d5a. | |||
| 2024-03-04 | Refs CVE-2024-27351 -- Forwardported release notes and tests. | Shai Berger | |
| Co-Authored-By: Mariusz Felisiak <felisiak.mariusz@gmail.com> | |||
| 2024-03-04 | Fixed #35265 -- Added AdminSite tests for changing titles. | Kasun Herath | |
| 2024-03-04 | Refs #9847 -- Added tests for handler403 resolution. | Adam Johnson | |
| 2024-03-02 | Refs #26431 -- Added more test for translated path(). | Adam Johnson | |
| 2024-03-02 | Updated translation catalogs in tests.i18n.patterns. | Adam Johnson | |
| 2024-03-01 | Refs #33497 -- Added connection pool support for PostgreSQL. | Sarah Boyce | |
| Co-authored-by: Florian Apolloner <florian@apolloner.eu> Co-authored-by: Ran Benita <ran@unusedvar.com> | |||
| 2024-03-01 | Refs #35234 -- Deprecated CheckConstraint.check in favor of .condition. | Simon Charette | |
| Once the deprecation period ends CheckConstraint.check() can become the documented method that performs system checks for BaseConstraint subclasses. | |||
| 2024-02-29 | Fixed #35234 -- Added system checks for invalid model field names in ↵ | Simon Charette | |
| ExclusionConstraint.expressions. | |||
| 2024-02-29 | Fixed #35198 -- Fixed facet filters crash on querysets with no primary key. | Shafiya Adzhani | |
| Thanks Simon Alef for the report. Regression in 868e2fcddae6720d5713924a785339d1665f1bb9. | |||
| 2024-02-29 | Refs #35090 -- Fixed urlpatterns.tests.SimplifiedURLTests when run in reverse. | Mariusz Felisiak | |
| 2024-02-28 | Fixed #29022 -- Fixed handling protocol-relative URLs in ↵ | Adam Zapletal | |
| ManifestStaticFilesStorage when STATIC_URL is set to /. | |||
| 2024-02-26 | Refs #32114 -- Fixed test crash on non-picklable objects in subtests when ↵ | David Wobrock | |
| PickleError is raised. Related to the https://github.com/python/cpython/issues/73373. Follow up to c09e8f5fd8f977bf16e9ec5d11b370151fc81ea8. | |||
| 2024-02-26 | Fixed #35241 -- Cached model's full parent list. | Adam Johnson | |
| co-authored-by: Keryn Knight <keryn@kerynknight.com> co-authored-by: Natalia <124304+nessita@users.noreply.github.com> co-authored-by: David Smith <smithdc@gmail.com> co-authored-by: Paolo Melchiorre <paolo@melchiorre.org> | |||
| 2024-02-23 | Fixed #35090 -- Deprecated registering URL converters with the same name. | Salvo Polizzi | |
