| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2024-05-08 | Matched blacken-docs config between ci and pre-commit. | Baptiste Mispelon | |
| 2024-05-07 | Added stub release notes for 5.0.7. | Natalia | |
| 2024-05-07 | Added release notes for 5.0.6 and 4.2.13. | Sarah Boyce | |
| 2024-05-07 | Fixed #35407 -- Cached model's Options.swapped. | Adam Johnson | |
| 2024-05-07 | Fixed #35425 -- Avoided INSERT with force_update and explicit pk. | Jacob Walls | |
| Affected models where the primary key field is defined with a default or db_default, such as UUIDField. | |||
| 2024-05-06 | Added release date for 5.0.5 and 4.2.12. | Sarah Boyce | |
| 2024-05-06 | Added link to the csrf template tag in the csrf page. | alexgmin | |
| 2024-05-06 | Migrated to ESLint 9+. | Mariusz Felisiak | |
| 2024-05-04 | Fixed #35426 -- Updated querysets to be a required argument of GenericPrefetch. | sobolevn | |
| 2024-05-03 | Fixed #35427 -- Corrected help text for makemessages --extension in ↵ | Shamil | |
| docs/ref/django-admin.txt. | |||
| 2024-05-03 | Refs #31224 -- Fixed typo in django/test/client.py. | Natalia | |
| 2024-05-03 | Refs #35422 -- Fixed typo in docs/releases/5.0.5.txt. | Natalia | |
| 2024-05-03 | Fixed #35422 -- Fixed migrations crash when altering GeneratedField ↵ | Mariusz Felisiak | |
| referencing rename field. Thanks Sarah Boyce for the report and Simon Charette for the implementation idea. | |||
| 2024-05-02 | Fixed #35359 -- Fixed migration operations ordering when adding fields ↵ | DevilsAutumn | |
| referenced by GeneratedField.expression. Thank you to Simon Charette for the review. | |||
| 2024-05-02 | Refs #34007, Refs #35359 -- Added Q.referenced_based_fields property. | David Sanders | |
| Thank you to Mariusz Felisiak and Natalia Bidart for the reviews. | |||
| 2024-05-02 | Added a high contrast mode to screenshot cases. | Sarah Boyce | |
| Thank you to Sarah Abderemane and Nick Pope for the reviews. | |||
| 2024-05-02 | Clarified when ImageField attributes are set. | John Parton | |
| 2024-05-02 | Fixed rendering XOR section in docs. | Mariusz Felisiak | |
| 2024-05-02 | Refs #29280 -- Moved release note about transaction_mode to "Database ↵ | Mariusz Felisiak | |
| backends" section. | |||
| 2024-04-30 | Refs #32819 -- Avoided adding 'aria-describedby' to hidden inputs. | David Smith | |
| Hidden elements are not visible for both accessibility tools and browsers presentation layer. This change therefore only reduces the size of the generated HTML. | |||
| 2024-04-29 | Fixed #35412 -- Dropped support for SQLite < 3.31. | Mariusz Felisiak | |
| 2024-04-26 | Refs #35339 -- Fixed source expressions in GeoAggregate on Oracle. | Mariusz Felisiak | |
| Regression in 42b567ab4c5bfb1bbd3e629b1079271c5ae44ea0. | |||
| 2024-04-26 | Fixed #20744 -- Removed hint that arbitrary kwargs are allowed when creating ↵ | Adam Zapletal | |
| forms.Fields. | |||
| 2024-04-26 | Made confirmation prompt in squashmigrations consistent with other prompts. | Cole D | |
| Prior to this change, squashmigrations would use a [yN] prompt to ask for user confirmation. A slash was added between the yes/no options to make it consistent with other commands that print similar prompts. | |||
| 2024-04-25 | Fixed #35339 -- Fixed PostgreSQL aggregate's filter and order_by params order. | Chris Muthig | |
| Updated OrderableAggMixin.as_sql() to separate the order_by parameters from the filter parameters. Previously, the parameters and SQL were calculated by the Aggregate parent class, resulting in a mixture of order_by and filter parameters. Thanks Simon Charette for the review. | |||
| 2024-04-25 | Refs #35339 -- Updated Aggregate class to return consistent source expressions. | Chris Muthig | |
| Refactored the filter and order_by expressions in the Aggregate class to return a list of Expression (or None) values, ensuring that the list item is always available and represents the filter expression. For the PostgreSQL OrderableAggMixin, the returned list will always include the filter and the order_by value as the last two elements. Lastly, emtpy Q objects passed directly into aggregate objects using Aggregate.filter in admin facets are filtered out when resolving the expression to avoid errors in get_refs(). Thanks Simon Charette for the review. | |||
| 2024-04-24 | Pinned GitHub Actions for reminders to commit hashes for latest release. | nessita | |
| 2024-04-24 | Improved phrasing and removed bold text in the GitHub pull request template. | nessita | |
| 2024-04-24 | Fixed #35395 -- slice filter crashes on an empty dict with Python 3.12. | Tim Richardson | |
| Keep consistent behaviour of slice() filter between python 3.12 and prior versions in the case of a dict passed to the filter (catch the new to python 3.12 KeyError exception). | |||
| 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 incorrect blockquotes in docs/topics/forms/index.txt. | minusf | |
| 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 | Reverted release notes for bdd76c4c3817d8e3ed5b0450d5e18e4eae096f16. | Sarah Boyce | |
| 2024-04-19 | Fixed #34994, Fixed #35386 -- Applied checkbox-row CSS class unconditionally ↵ | Adam Johnson | |
| in Admin. | |||
| 2024-04-17 | Made SeleniumTests.test_inline_add_another_widgets less flaky by adding ↵ | Marijke Luttekes | |
| explicit wait. | |||
| 2024-04-16 | Doc'd that RemoveField also drops related database objects in PostgreSQL. | David Sanders | |
| 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 | Extended docs for Q() objects mentioning the ~ (NOT) operator. | Mohammad Kazemi | |
| Co-authored-by: Sarah Boyce <42296566+sarahboyce@users.noreply.github.com> | |||
| 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 | Corrected alphabetical order of latest author added to AUTHORS. | nessita | |
| 2024-04-12 | Refs #35361 -- Clarified release notes for 4.2.12 and 5.0.5. | Natalia | |
| 2024-04-12 | Fixed #35364 -- Stopped AdminEmailHandler rendering email unnecessarily. | Adam Johnson | |
| 2024-04-12 | Refs #35364 -- Tested AdminEmailHandler with empty ADMINS. | Adam Johnson | |
| 2024-04-12 | Refs #35194 -- Adjusted a generated field test to work on Postgres 15.6+. | Simon Charette | |
| Postgres >= 12.18, 13.14, 14.11, 15.6, 16.2 changed the way the immutability of generated and default expressions is detected in postgres/postgres@743ddaf. The adjusted test semantic is presereved by switching from __icontains to __contains as both make use of a `%` literal which requires proper escaping. Refs #35336. Thanks bcail for the report. | |||
| 2024-04-11 | Corrected description of list_display being a list in tutorial 7. | Aleksander Milinkevich | |
| 2024-04-10 | Fixed settings path in docs for installing SpatiaLite with Homebrew. | Adam Johnson | |
| Co-authored-by: Adam Zapletal <adamzap@gmail.com> | |||
