| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2024-04-24 | Fixed #35382 -- Removed unused CSS for admin inline fieldsets. | 0saurabh0 | |
| 2024-04-23 | Refs #35356 -- Clarified select related with masked field logic. | Simon Charette | |
| By always including related objects in the select mask via adjusting the defer logic (_get_defer_select_mask()), it becomes possible for select_related_descend() to treat forward and reverse relationships indistinctively. This work also simplifies and adds comments to select_related_descend() to make it easier to understand. | |||
| 2024-04-23 | Fixed #35356 -- Deferred self-referential foreign key fields adequately. | Simon Charette | |
| While refs #34612 surfaced issues with reverse one-to-one fields deferrals, it missed that switching to storing remote fields would break self-referential relationships. This change switches to storing related objects in the select mask instead of remote fields to prevent collisions when dealing with self-referential relationships that might have a different directional mask. Despite fixing #21204 introduced a crash under some self-referential deferral conditions, it was simply not working even before that as it aggregated the sets of deferred fields by model. Thanks Joshua van Besouw for the report and Mariusz Felisiak for the review. | |||
| 2024-04-22 | Fixed #35392, Refs #34331 -- Allowed importing aprefetch_related_objects ↵ | James Ostrander | |
| from django.db.models. Thanks James Ostrander for the report and fix, and to Tim Graham and Mariusz Felisiak for the reviews. | |||
| 2024-04-19 | Fixed #35321 -- Prevented Mobile Safari zoom-in on Django admin inputs. | Jkhall81 | |
| Thanks Simon Willison for the report and Ben Cardy for testing. | |||
| 2024-04-19 | Fixed #34994, Fixed #35386 -- Applied checkbox-row CSS class unconditionally ↵ | Adam Johnson | |
| in Admin. | |||
| 2024-04-16 | Fixed #35373 -- Fixed a crash when indexing a generated field on SQLite. | Simon Charette | |
| Generated fields have to be excluded from the INSERT query against the remade table including the index. Thanks Moshe Dicker for the report, David Sanders and Mariusz Felisiak for the review. | |||
| 2024-04-15 | Fixed #35375 -- Fixed tabular inline admin original line to be on the right ↵ | Eyal Cherevatsky | |
| in RTL. | |||
| 2024-04-15 | Fixed ↵ | Mariusz Felisiak | |
| backends.oracle.tests.TransactionalTests.test_hidden_no_data_found_exception() on oracledb >= 2.1.2. python-oracledb 2.1.2+ no longer hides 'ORA-1403: no data found' exceptions raised in database triggers: https://github.com/oracle/python-oracledb/issues/321 | |||
| 2024-04-12 | Fixed #35364 -- Stopped AdminEmailHandler rendering email unnecessarily. | Adam Johnson | |
| 2024-04-10 | Fixed #35350 -- Fixed save() with pk set on models with GeneratedFields. | Sarah Boyce | |
| Thanks Matt Hegarty for the report and Simon Charette and Natalia Bidart for the reviews. Regression in f333e35. | |||
| 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-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-30 | Refs #35234 -- Skipped CheckConstraint system checks if not supported. | Mariusz Felisiak | |
| Thanks Tim Graham for the report. Regression in 0fb104dda287431f5ab74532e45e8471e22b58c8. | |||
| 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 | Removed unused _alter_column_collation_sql() in PostgreSQL DatabaseSchemaEditor. | Mariusz Felisiak | |
| Unused since ae0899be0d787fbfc5f5ab2b18c5a8219d822d2b. | |||
| 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 | Fixed #34841 -- Avoided rendering apps on state still requiring mutation. | David Sanders | |
| 2024-03-21 | Fixed #35320 -- Removed unnecessary django.core.files.move._samefile() hook. | Ben Cail | |
| os.path.samefile() uses the same implementation on Windows as all other platforms since Python 3.4. | |||
| 2024-03-21 | Fixed #35257 -- Corrected resolving output_field for ↵ | sharonwoo | |
| IntegerField/DecimalField with NULL. | |||
| 2024-03-20 | Fixed #35309 -- Made prefetch clear ordering for single-valued relationships. | Laurent Lyaudet | |
| 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-16 | Stopped skipping ↵ | Mariusz Felisiak | |
| model_fields.test_jsonfield.TestQuerying.test_usage_in_subquery on Oracle 23c. | |||
| 2024-03-15 | Refs #34900 -- Fixed SafeMIMEText.set_payload() crash on Python 3.13. | Mariusz Felisiak | |
| Payloads with surrogates are passed to the set_payload() since https://github.com/python/cpython/commit/f97f25ef5dfcdfec0d9a359fd970abd139cf3428 | |||
| 2024-03-15 | Refs #33996 -- Updated CheckConstraint validation on NULL values on Oracle 23c+. | Mariusz Felisiak | |
| Oracle 23c supports comparing boolean expressions. | |||
| 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-14 | Fixed #35295 -- Used INSERT with multiple rows on Oracle 23c. | Mariusz Felisiak | |
| 2024-03-14 | Refs #35295 -- Added BaseDatabaseOperations.bulk_insert_sql(). | Mariusz Felisiak | |
| Co-authored-by: Nick Pope <nick@nickpope.me.uk> | |||
| 2024-03-14 | Refs #30686 -- Made django.utils.html.VOID_ELEMENTS a frozenset. | Nick Pope | |
| 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-12 | Removed unused clean() method in file-based session. | Mariusz Felisiak | |
| Unused since its introduction in bcf7e9a9fe037eff4d5dea0cdd8c35104590e1a8. | |||
| 2024-03-12 | Used SessionBase.__setitem__() in setdefault(). | Mariusz Felisiak | |
| 2024-03-11 | Optimized DatabaseOperations.bulk_insert_sql() a bit on Oracle. | Mariusz Felisiak | |
| 2024-03-11 | Fixed #35285 -- Optimized ForeignObject._check_unique_target(). | Adam Johnson | |
| 2024-03-10 | Fixed #35286 -- Updated broken link in django/template/smartif.py docstring. | umair mehmood | |
| 2024-03-09 | Moved --failfast to DiscoverRunner. | Adam Johnson | |
| 2024-03-09 | Fixed #35270 -- Optimized model's Options._property_names. | Adam Johnson | |
| co-authored-by: Nick Pope <nick@nickpope.me.uk> | |||
| 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 | Optimized Model.refresh_from_db(fields=...) by using a set. | Giannis Terzopoulos | |
| 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-08 | Refs #30397 -- Optimized interpolation of index and constraint names a bit more. | Nick Pope | |
