| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2024-01-16 | Fixed #35111 -- Fixed compilation of DateField __in/__range rhs on SQLite ↵ | Simon Charette | |
| and MySQL. Also removed tests that ensured that adapt_(date)timefield backend operations where able to deal with expressions when it's not the case for any other adapt methods. | |||
| 2024-01-16 | Refs #22288 -- Corrected __range lookup test names. | Simon Charette | |
| 2024-01-16 | Fixed #35112 -- Removed previous/next month animation in admin calendar widget. | Alexander Lazarević | |
| 2024-01-15 | Fixed #34949 -- Clarified when UniqueConstraints with include/nulls_distinct ↵ | jordanbae | |
| are not created. | |||
| 2024-01-15 | Fixed #28344 -- Allowed customizing queryset in ↵ | Aivars Kalvans | |
| Model.refresh_from_db()/arefresh_from_db(). The from_queryset parameter can be used to: - use a custom Manager - lock the row until the end of transaction - select additional related objects | |||
| 2024-01-15 | Refs #35102 -- Optimized replace_expressions()/relabelling aliases by adding ↵ | Mariusz Felisiak | |
| early return. This avoids costly hashing. Thanks Anthony Shaw for the report. Co-Authored-By: Simon Charette <charette.s@gmail.com> | |||
| 2024-01-15 | Refs #35102 -- Optimized Expression.identity used for equality and hashing. | Simon Charette | |
| inspect.signature() is quite slow and produces the same object for each instance of the same class as they share their __init__ method which makes it a prime candidate for caching. Thanks Anthony Shaw for the report. | |||
| 2024-01-12 | Fixed #35028 -- Disabled server-side bindings for named cursors on psycopg >= 3. | Simon Charette | |
| While we provide a `cursor_factory` based on the value of the `server_side_bindings` option to `psycopg.Connection` it is ignored by the `cursor` method when `name` is specified for `QuerySet.iterator()` usage and it causes the usage of `psycopg.ServerCursor` which performs server-side bindings. Since the ORM doesn't generates SQL that is suitable for server-side bindings when dealing with parametrized expressions a specialized cursor must be used to allow server-side cursors to be used with client-side bindings. Thanks Richard Ebeling for the report. Thanks Florian Apolloner and Daniele Varrazzo for reviews. | |||
| 2024-01-12 | Added test ensuring that validate_password is used in AdminPasswordChangeForm. | nessita | |
| Co-authored-by: Fabian Braun <fsbraun@gmx.de> | |||
| 2024-01-12 | Avoided nested transactions in SkippingClassTestCase. | Florian Apolloner | |
| 2024-01-11 | Reorganized the Contributing to Django docs. | Mark Walker | |
| This work follows a comprehensive review conducted during the DjangoCon US 2023 sprints. Changes include: - Updated the title of the main page for better alignment with the content. - Removed emojis to enhance accessibility and avoid cultural specificity. - Improved the layout and navigation of contributing documentation. - Unified sections for communication channels and community links. - Grouped resources according to the Diátaxis systematic approach. Co-authored-by: Natalia <124304+nessita@users.noreply.github.com> Co-authored-by: Daniele Procida <daniele@vurt.org> | |||
| 2024-01-11 | Refs #28404 -- Made displaying property values in admin respect non-None ↵ | Alexander Lazarević | |
| empty values. | |||
| 2024-01-11 | Fixed #35100 -- Reworked GeoIP2 database initialization. | Nick Pope | |
| 2024-01-10 | Fixed #34769 -- Fixed key transforms on Oracle 21c+. | Mariusz Felisiak | |
| Oracle 21c introduced support for primivites in JSON fields that caused changes in handling them by JSON_QUERY/JSON_VALUE functions. | |||
| 2024-01-10 | Fixed #35092 -- Exposed extra fields for GeoIP2.country() and GeoIP2.city() ↵ | Nick Pope | |
| responses. | |||
| 2024-01-10 | Fixed #28404 -- Made displaying values in admin respect Field's empty_values. | Alexander Lazarević | |
| 2024-01-09 | Made management command examples more consistent in docs. | evananyonga | |
| 2024-01-09 | Fixed #35097 -- Tested parse_datetime() with bare date. | Tim Graham | |
| Regression test for behavior change in f35ab74752adb37138112657c1bc8b91f50e799b. | |||
| 2024-01-09 | Fixed #35096 -- Corrected alignment for error lists in admin "wide" forms. | Fabian Braun | |
| Regression in be06c39abe80ca650e37810d16d15ff60e8c9727 (LTR) and b34a4771a3d4cd7829a1f38a0f6a7a0da519a724 (RTL). | |||
| 2024-01-09 | Refs #28404 -- Split test_null_display_for_field() test. | Alexander Lazarević | |
| 2024-01-08 | Fixed #33481 -- Clarified remove_stale_contenttypes data loss warning. | syed waheed | |
| 2024-01-08 | Fixed #35087 -- Reallowed filtering against foreign keys not listed in ↵ | Sarah Boyce | |
| ModelAdmin.list_filters. Regression in f80669d2f5a5f1db9e9b73ca893fefba34f955e7. | |||
| 2024-01-07 | Fixed #35091 -- Allowed GeoIP2 querying using IPv4Address/IPv6Address. | Nick Pope | |
| 2024-01-06 | Fixed #35088 -- Added support for Collect on MySQL 8.0.24+. | Nick Pope | |
| 2024-01-05 | Simplified dropping spatial indexes on MySQL and Oracle. | Mariusz Felisiak | |
| 2024-01-05 | Fixed #35086 -- Added support for BoundedCircle on Spatialite 5.1+. | David Smith | |
| Spatialite 5.1 added support for BoundingCircle (GEOSMinimumBoundingCircle). GEOS 3.7 is required which is lower than Django's currently supported minmum of 3.8. https://groups.google.com/g/spatialite-users/c/hAJ2SgitN4M https://www.gaia-gis.it/gaia-sins/spatialite-sql-5.1.0.html | |||
| 2024-01-05 | Bumped versions in pre-commit and npm configurations. | Mariusz Felisiak | |
| 2024-01-05 | Moved isort config from setup.cfg to pyproject.toml. | Claude Paroz | |
| 2024-01-05 | Removed obsolete rpm-related install code. | Claude Paroz | |
| 2024-01-04 | Fixed #35084 -- Recommended 'django_' prefix for reusable app modules. | Adam Johnson | |
| 2024-01-04 | Used enterClassContext() where appropriate. | Mariusz Felisiak | |
| 2024-01-04 | Refs #34140 -- Fixed blacken-docs pre-commit configuration. | Adam Johnson | |
| Missed in 6015bab80e28aef2669f6fac53423aa65f70cb08. The default blacken-docs hook definition does not apply to .txt files, which the Django documentation uses. This commit overrides that definition to point blacken-docs at the appropriate files. | |||
| 2024-01-03 | Refs #33690 -- Updated tutorial for admin dark mode toggle. | Adam Johnson | |
| 2024-01-03 | Fixed #33277 -- Disallowed database connections in threads in SimpleTestCase. | David Wobrock | |
| 2024-01-02 | Fixed #35075 -- Added deduplicate_items parameter to BTreeIndex. | Nick Pope | |
| 2024-01-02 | Added stub release notes for 5.0.2. | Mariusz Felisiak | |
| 2024-01-02 | Added release date for 5.0.1 and 4.2.9. | Mariusz Felisiak | |
| 2024-01-02 | Fixed #35060 -- Deprecated passing positional arguments to Model.save()/asave(). | Salvo Polizzi | |
| 2024-01-02 | Improved variable names in QuerySet.delete(). | Michael | |
| 2024-01-01 | Fixed #35072 -- Corrected Field.choices description in models topic. | Zowie Beha | |
| 2024-01-01 | Updated DatabaseFeatures.bare_select_suffix on Oracle 23c. | Nick Pope | |
| https://docs.oracle.com/en/database/oracle/oracle-database/23/nfcoa/application-development.html#GUID-4EB70EB9-4EE3-4FE2-99C4-86F7AAC60F12 | |||
| 2024-01-01 | Supported native aggregation over INTERVALs on Oracle 23c. | Nick Pope | |
| https://docs.oracle.com/en/database/oracle/oracle-database/23/nfcoa/application-development.html#GUID-CE5F8EED-934D-458D-B81C-6C8D617F31A2 | |||
| 2024-01-01 | Added note about SELECT index in GROUP BY on Oracle 23c. | Nick Pope | |
| As this isn't enabled by default and would be unsafe to enforce, just add a comment to note that this has to stay disabled. https://docs.oracle.com/en/database/oracle/oracle-database/23/nfcoa/application-development.html#GUID-EDDF041F-C10D-4334-838A-706227D7BFE0 | |||
| 2023-12-31 | Used addCleanup() in tests where appropriate. | Mariusz Felisiak | |
| 2023-12-31 | Used JSON_OBJECT database function on PostgreSQL 16+. | Nick Pope | |
| 2023-12-31 | Fixed #35051 -- Prevented runserver from removing non-zero Content-Length ↵ | Paul Bailey | |
| for HEAD requests. | |||
| 2023-12-30 | Fixed #35069 -- Fixed typo in docs/ref/forms/api.txt. | Salvo Polizzi | |
| 2023-12-30 | Fixed #29049 -- Added slicing notation to F expressions. | Nick Pope | |
| Co-authored-by: Priyansh Saxena <askpriyansh@gmail.com> Co-authored-by: Niclas Olofsson <n@niclasolofsson.se> Co-authored-by: David Smith <smithdc@gmail.com> Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com> Co-authored-by: Abhinav Yadav <abhinav.sny.2002@gmail.com> | |||
| 2023-12-30 | Fixed #34670 -- Improved loading of theme in admin. | Nicolas Lupien | |
| Thanks Sarah Abderemane for the review. | |||
| 2023-12-29 | Fixed #35064 -- Fixed Window(order_by) crash with DecimalFields on SQLite. | Simon Charette | |
| This avoids cast of Window(order_by) for DecimalFields on SQLite. This was achieved by piggy-backing ExpressionList which already implements a specialized as_sqlite() method to override the inherited behaviour of Func through SQLiteNumericMixin. Refs #31723. Thanks Quoates for the report. | |||
