| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2023-12-12 | Refs #34305 -- Added SimpleTestCase.enterClassContext() on Python < 3.11. | Nick Pope | |
| 2023-12-12 | Fixed #34013 -- Added QuerySet.order_by() support for annotation transforms. | Simon Charette | |
| Thanks Eugene Morozov and Ben Nace for the reports. | |||
| 2023-12-12 | Fixed #35018 -- Fixed migrations crash on GeneratedField with BooleanField ↵ | Mariusz Felisiak | |
| as output_field on Oracle < 23c. Thanks Václav Řehák for the report. Regression in f333e3513e8bdf5ffeb6eeb63021c230082e6f95. | |||
| 2023-12-08 | Fixed #35019 -- Fixed save() on models with both GeneratedFields and ↵ | Sarah Boyce | |
| ForeignKeys. Thanks Deb Kumar Das for the report. Regression in f333e3513e8bdf5ffeb6eeb63021c230082e6f95. | |||
| 2023-12-08 | Fixed #34742 -- Made CommonMiddleware raise APPEND_SLASH RuntimeError on ↵ | Avaneesh Kumar | |
| DELETE requests. | |||
| 2023-12-07 | Fixed #35024 -- Fixed model instance creation crash on ↵ | Mariusz Felisiak | |
| GeneratedField.output_field with backend converters. Regression in d9de74141e8a920940f1b91ed0a3ccb835b55729. This is a long standing issue, however it caused a crash of GeneratedFields for all output fields that have backend-specific converters when the RETURNING clause is not supported (MySQL and SQLite < 3.35). That's why severity was exacerbated. | |||
| 2023-12-07 | Fixed #35020 -- Fixed ModelAdmin.lookup_allowed() for non-autofield primary ↵ | Sarah Boyce | |
| keys. Thanks Joshua Goodwin for the report. Regression in 45ecd9acca9b36093e274f47b6877a5f79108d9e. | |||
| 2023-12-06 | Replaced deprecated database type synonyms in Oracle backend. | Mariusz Felisiak | |
| 2023-12-06 | Refs #34986 -- Moved garbage_collect() helper to django.test.utils. | Nick Pope | |
| 2023-12-05 | Changed django.contrib.gis.geoip2 package to a module. | Nick Pope | |
| 2023-12-05 | Inlined django.contrib.gis.geoip2.resources module. | Nick Pope | |
| 2023-12-05 | Deprecated django.contrib.gis.geoip2.GeoIP2.open(). | Nick Pope | |
| 2023-12-04 | Updated translations from Transifex. | Natalia | |
| Forwardport of 8e1b820fa10d16664beb5d1ca2f5671891da1704 from stable/5.0.x. | |||
| 2023-12-04 | Fixed #34830 -- Added request to bad_request/csrf_failure view template ↵ | yushanfans2233 | |
| contexts. | |||
| 2023-12-03 | Removed unused CSS rules for related widget in RTL. | Tom Carrick | |
| 2023-12-03 | Fixed #35002 -- Made UniqueConstraints with fields respect nulls_distinct. | Peter Thomassen | |
| Regression in 595a2abb58e04caa4d55fb2589bb80fb2a8fdfa1. | |||
| 2023-12-01 | Fixed #35001 -- Fixed position of related widget action icons in admin for ↵ | Tom Carrick | |
| some screen sizes. | |||
| 2023-12-01 | Made GeoIP2.__del__() close all databases. | Nick Pope | |
| 2023-12-01 | Refs #35004 -- Restored the direction of arrows in admin selector boxes for ↵ | Mariusz Felisiak | |
| RTL languages on mobile screens. Regression in 57c1dd466ff0d41760049d6818e82be9d767c7da. | |||
| 2023-12-01 | Deprecated django.contrib.gis.geoip2.GeoIP2.coords(). | Nick Pope | |
| The `ordering` argument is undocumented and of limited use, so this is effectively the same as `GeoIP2.lon_lat()`. | |||
| 2023-12-01 | Simplified coordinate retrieval routines for GeoIP2. | Nick Pope | |
| Also removed dead code checking for ``None`` as ``GeoIP2.city()` cannot return ``None``. | |||
| 2023-12-01 | Refs #35003 -- Corrected "wide" form margins in admin for LTR languages. | Tom Carrick | |
| 2023-11-30 | Fixed #34995 -- Improved position of related widget's add link on admin ↵ | Tom Carrick | |
| pages on small screens. Regression in 1699f8b52ac15f687cc39088401c2641022c71cd. Co-authored-by: Sarah Boyce <42296566+sarahboyce@users.noreply.github.com> Co-authored-by: Natalia Bidart <124304+nessita@users.noreply.github.com> | |||
| 2023-11-30 | Fixed #35003 -- Corrected margins in admin for RTL languages. | Tom Carrick | |
| 2023-11-30 | Fixed #35006 -- Fixed migrations crash when altering Meta.db_table_comment ↵ | Mariusz Felisiak | |
| on SQLite. Thanks Юрий for the report. Regression in 78f163a4fb3937aca2e71786fbdd51a0ef39629e. | |||
| 2023-11-30 | Fixed #35004 -- Corrected the direction of arrows in admin selector boxes ↵ | Mariusz Felisiak | |
| for RTL languages on small screens. Follow up to 12617fbd859b1244e91bcf182a2fdf356b388821. | |||
| 2023-11-29 | Removed unused GeoIP2.info property. | Nick Pope | |
| 2023-11-29 | Refs #25778 -- Updated some links and references to HTTPS. | Adam Johnson | |
| 2023-11-28 | Refs #34380 -- Added FORMS_URLFIELD_ASSUME_HTTPS transitional setting. | Mariusz Felisiak | |
| This allows early adoption of the new default "https". | |||
| 2023-11-28 | Refs #34822, Refs #34986 -- Fixed migrations serializer support for ↵ | Nick Pope | |
| functools.lru_cache(). It turns out that `functools._lru_cache_wrapper` is only a class when CPython's _functools C module provides it, otherwise it is a function. PyPy also provides it as a function. | |||
| 2023-11-28 | Refs #34986 -- Added PyPy support to ↵ | Nick Pope | |
| django.utils.autoreload.get_child_arguments(). It seems that `sys._xoptions` is also supported on PyPy. | |||
| 2023-11-28 | Refs #34986 -- Fixed mocking in ↵ | Nick Pope | |
| utils_tests.test_http.HttpDateProcessingTests.test_parsing_rfc850. Mocking in the `datetime` module can be tricky. In CPython the datetime C module is used, but PyPy uses a pure Python implementation. This caused issues with the prior approach to mocking `datetime.datetime`. See https://docs.python.org/3/library/unittest.mock-examples.html#partial-mocking | |||
| 2023-11-28 | Fixed #34633 -- Made create() method of reverse many-to-one managers clear ↵ | Aman Pandey | |
| prefetch_related() cache. | |||
| 2023-11-27 | Fixed #34982 -- Fixed admin's read-only password widget and help texts ↵ | Tom Carrick | |
| alignment for tablet screen size. Co-authored-by: Sarah Boyce <42296566+sarahboyce@users.noreply.github.com> | |||
| 2023-11-27 | Refs #34986 -- Added django.utils.version.PYPY. | Nick Pope | |
| 2023-11-27 | Refs #34986 -- Avoided pickling error in DjangoUnicodeDecodeError. | Nick Pope | |
| By using the existing object reference instead of a custom one, pickling related issues when running the test suite in parallel can be avoided. | |||
| 2023-11-27 | Fixed #34992 -- Fixed DatabaseFeatures.allows_group_by_selected_pks on ↵ | Nathaniel Conroy | |
| MariaDB with ONLY_FULL_GROUP_BY sql mode. Regression in 041551d716b69ee7c81199eee86a2d10a72e15ab. | |||
| 2023-11-25 | Refs #34925 -- Avoided altering passed by reference refresh_from_db(fields). | Simon Charette | |
| Follow up to b0ec87b8578147be4357c90eabcd2b916c780810. | |||
| 2023-11-24 | Fixed #34925 -- Prevented Model.refresh_from_db() from mutating list of fields. | trontelj | |
| 2023-11-24 | Fixed #34968 -- Made multipart parsing of headers raise an error on too long ↵ | Standa Opichal | |
| headers. This also allow customizing the maximum size of headers via MAX_TOTAL_HEADER_SIZE. | |||
| 2023-11-24 | Fixed #34983 -- Deprecated django.utils.itercompat.is_iterable(). | Nick Pope | |
| 2023-11-24 | Fixed #34818 -- Prevented GenericIPAddressField from mutating error messages. | Parth Verma | |
| Co-authored-by: Parth Verma <parth.verma@gmail.com> | |||
| 2023-11-23 | Fixed #26827 -- Improved ModelState error message when relations refer model ↵ | Prashant Pandey | |
| classes. | |||
| 2023-11-23 | Fixed #34994 -- Fixed checkbox layout in admin's change page for narrow ↵ | Tom Carrick | |
| screen widths. Regression in d687febce5868545f99974d2499a91f81a32fef5. | |||
| 2023-11-23 | Fixed #34991 -- Fixed pagination links and input layout in admin's change ↵ | Tom Carrick | |
| list page when using list_editable. Regression in b4817d20b9e55df30be0b1b2ca8c8bb6d61aab07. Thanks Tom Carrick for the report and fix. | |||
| 2023-11-23 | Fixed #14611 -- Added query_params argument to RequestFactory and Client ↵ | Tom Carrick | |
| classes. | |||
| 2023-11-23 | Fixed #34987 -- Fixed queryset crash when mixing aggregate and window ↵ | Simon Charette | |
| annotations. Regression in f387d024fc75569d2a4a338bfda76cc2f328f627. Just like `OrderByList` the `ExpressionList` expression used to wrap `Window.partition_by` must implement `get_group_by_cols` to ensure the necessary grouping when mixing window expressions with aggregate annotations is performed against the partition members and not the partition expression itself. This is necessary because while `partition_by` is implemented as a source expression of `Window` it's actually a fragment of the WINDOW expression at the SQL level and thus it should result in a group by its members and not the sum of them. Thanks ElRoberto538 for the report. | |||
| 2023-11-22 | Fixed #34985 -- Fixed GeneratedFields.contribute_to_class() crash when apps ↵ | Mariusz Felisiak | |
| are not populated. Thanks Paolo Melchiorre for the report. Regression in f333e3513e8bdf5ffeb6eeb63021c230082e6f95. | |||
| 2023-11-22 | Fixed #34984 -- Skipped GeneratedFields when remaking tables on SQLite. | Sarah Boyce | |
| Regression in f333e3513e8bdf5ffeb6eeb63021c230082e6f95.t Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com> Co-authored-by: David Sanders <shang.xiao.sanders@gmail.com> | |||
| 2023-11-21 | Fixed #34980 -- Changed migration operation dependencies to namedtuples. | Mariusz Felisiak | |
