summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-02-14Fixed #28263 -- Fixed TestCase setup for databases that don't support ↵Tim Graham
savepoints.
2024-02-13Fixed #35122 -- Made migrate --prune option respect --app_label.Moein Bbp
2024-02-12Refs #35058 -- Added support for measured geometries to GDAL ↵David Smith
GeometryCollection and subclasses.
2024-02-12Fixed #35171 -- Updated the design of the "Congrats" page.Alexander Lazarević
2024-02-12Corrected indentation of the "Congrats" page template.Alexander Lazarević
2024-02-10Refs #34900, Refs #34118 -- Updated assertion in ↵Daniel Garcia Moreno
test_skip_class_unless_db_feature() test on Python 3.12.2+. Python 3.12.2 bring back the skipped tests in the number of running tests. Refs https://github.com/python/cpython/commit/0a737639dcd3b7181250f5d56694b192eaddeef0
2024-02-09Fixed #35145 -- Corrected color scheme of vanilla HTML widgets in admin.Eli
2024-02-09Fixed #35175 -- Made migraton writer preserve keyword-only arguments.David Sanders
Thanks Gerald Goh for the report.
2024-02-09Refs #34534 -- Reduced constraint operations with Meta.constraints when ↵Ben Cail
optimizing migrations.
2024-02-08Fixed #35073 -- Avoided unnecessary calling of callables used by ↵bcail
SET/SET_DEFAULT in Collector.collect().
2024-02-08Fixed #35174 -- Fixed Signal.asend()/asend_robust() crash when all receivers ↵Vašek Dohnal
are asynchronous. Regression in e83a88566a71a2353cebc35992c110be0f8628af.
2024-02-08Fixed #35172 -- Fixed intcomma for string floats.Mariusz Felisiak
Thanks Warwick Brown for the report. Regression in 55519d6cf8998fe4c8f5c8abffc2b10a7c3d14e9.
2024-02-08Fixed typo in docs/internals/contributing/writing-code/coding-style.txt.Koo
2024-02-07Fixed #35099 -- Prevented mutating queryset when combining with & and | ↵Hisham Mahmood
operators. Thanks Alan for the report. Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2024-02-07Fixed #30686 -- Used Python HTMLParser in utils.text.Truncator.David Smith
2024-02-07Refs #30686 -- Fixed text truncation for negative or zero lengths.David Smith
2024-02-06Refs #10743 -- Removed leftover comment in tests/admin_changelist/tests.py.nessita
2024-02-06Refs #30686 -- Improved test coverage of Truncator.David Smith
2024-02-06Added CVE-2024-24680 to security archive.Natalia
2024-02-06Added stub release notes for 5.0.3.Natalia
2024-02-06Fixed CVE-2024-24680 -- Mitigated potential DoS in intcomma template filter.Adam Johnson
Thanks Seokchan Yoon for the report. Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com> Co-authored-by: Natalia <124304+nessita@users.noreply.github.com> Co-authored-by: Shai Berger <shai@platonix.com>
2024-02-05Refs #10743 -- Enabled ordering for lookups in ModelAdmin.list_display.Tom Carrick
Co-authored-by: Natalia <124304+nessita@users.noreply.github.com> Co-authored-by: Nina Menezes <https://github.com/nmenezes0>
2024-02-05Fixed #10743 -- Allowed lookups for related fields in ModelAdmin.list_display.Tom Carrick
Co-authored-by: Alex Garcia <me@alexoteiza.com> Co-authored-by: Natalia <124304+nessita@users.noreply.github.com> Co-authored-by: Nina Menezes <https://github.com/nmenezes0>
2024-02-05Fixed #27225 -- Added "Age" header when fetching cached responses.Rinat Khabibiev
Co-Authored-By: Author: Alexander Lazarević <laza@e11bits.com>
2024-02-05Corrected cache_page()'s timeout value in tests.generic_views.urls.Alexander Lazarević
2024-02-05Replaced "Django test runner" with DiscoverRunner in release notes.Tim Graham
Removed mention of options supported only by runtests.py.
2024-02-05Fixed #16281 -- Fixed ContentType.get_object_for_this_type() in a multiple ↵Ben Cail
database setup.
2024-02-05Changed severity levels to list in security policy docs.shivaramkumar
2024-02-04Fixed #35149 -- Fixed crashes of db_default with unresolvable output field.Simon Charette
Field.db_default accepts either literal Python values or compilables (as_sql) and wrap the former ones in Value internally. While 1e38f11 added support for automatic resolving of output fields for types such as str, int, float, and other unambigous ones it's cannot do so for all types such as dict or even contrib.postgres and contrib.gis primitives. When a literal, non-compilable, value is provided it likely make the most sense to bind its output field to the field its attached to avoid forcing the user to provide an explicit `Value(output_field)`. Thanks David Sanders for the report.
2024-02-04Refs #35149 -- Made equivalent db_default alterations noops.Simon Charette
This allows for an easier transition of preserving the literal nature of non-compilable db_default.
2024-02-03Fixed #35162 -- Fixed crash when adding fields with db_default on MySQL.Simon Charette
MySQL doesn't allow literal DEFAULT values to be used for BLOB, TEXT, GEOMETRY or JSON columns and requires expression to be used instead. Regression in 7414704e88d73dafbcfbb85f9bc54cb6111439d3.
2024-02-01Fixed #35147 -- Added backward incompatibility note about filtering against ↵Petar Netev
overflowing integers.
2024-02-01Changed packing recommendation to use pyproject.toml in reusable apps docs.Claude Paroz
2024-02-01Fixed typo in docs/topics/db/managers.txt.Ebram Shehata
2024-02-01Removed mention of designers in DTL design philosophy.Priya
Signed-off-by: Priya Pahwa <pahwa.priya19@gmail.com>
2024-02-01Fixed #35152 -- Added en_CA locale formats.Candide U
Formatting rules sourced from: - https://www.noslangues-ourlanguages.gc.ca/en/writing-tips-plus/numbers-decimal-fractions.html - https://www.noslangues-ourlanguages.gc.ca/en/writing-tips-plus/time-of-day-elapsed-time.html - 1ac397674b2f64d48e66502a20b9d9ca6bfb579a
2024-02-01Corrected FIRST_DAY_OF_WEEK for fr_CA.Candide U
Thanks Simon Charette for the review.
2024-01-31Fixed #35059 -- Ensured that ASGIHandler always sends the request_finished ↵James Thorniley
signal. Prior to this work, when async tasks that process the request are cancelled due to receiving an early "http.disconnect" ASGI message, the request_finished signal was not being sent, potentially leading to resource leaks (such as database connections). This branch ensures that the request_finished signal is sent even in the case of early termination of the response. Regression in 64cea1e48f285ea2162c669208d95188b32bbc82. Co-authored-by: Natalia <124304+nessita@users.noreply.github.com> Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es>
2024-01-31Refs #35059 -- Made asgi tests' SignalHandler helper class re-usable by ↵Natalia
other tests.
2024-01-31Fixed #35156 -- Removed outdated note about not supporting foreign keys by ↵Ben Cail
SQLite.
2024-01-31Fixed #35159 -- Fixed dumpdata crash when base querysets use prefetch_related().Mariusz Felisiak
Regression in 139135627650ed6aaaf4c755b82c3bd43f2b8f51 following deprecation in edbf930287cb72e9afab1f7208c24b1146b0c4ec. Thanks Andrea F for the report.
2024-01-31Refs #35058 -- Added support for measured geometries to GDAL Polygon.David Smith
2024-01-31Fixed #35143 -- Improved accessibility of 404/500 debug pages.Marijke Luttekes
This: - changes the header, main, and footer content areas to be rendered in a <header>, <main>, and <footer> tags, - adds scope attributes to <th>, - uses <code> for a patterns list, - uses <small> instead of <span>.
2024-01-30Made cosmetic edits to rocket SVG in the "Congrats" page.Baptiste Mispelon
This removes unnecessary <circle> from rocket SVG, and avoids repeating the SVG rocket's color for the porthole.
2024-01-30Fixed #29280 -- Made the transactions behavior configurable on SQLite.Anže Pečar
2024-01-30Corrected BaseCommand.check() signature in docs.evananyonga
2024-01-29Fixed #35135 -- Made FilteredRelation raise ValueError on querysets as rhs.Nicolas Delaby
Regression in 59f475470494ce5b8cbff816b1e5dafcbd10a3a3.
2024-01-29Fixed #35141 -- Clarified the expected type of CACHE_MIDDLEWARE_SECONDS setting.Alexander Lazarević
2024-01-29Refs #35141 -- Corrected value of CACHE_MIDDLEWARE_SECONDS in ↵Alexander Lazarević
CacheMiddlewareTest tests.
2024-01-29Added stub release notes and release date for 5.0.2, 4.2.10, and 3.2.24.Natalia