summaryrefslogtreecommitdiff
path: root/django
AgeCommit message (Collapse)Author
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-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-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-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-05Fixed #16281 -- Fixed ContentType.get_object_for_this_type() in a multiple ↵Ben Cail
database setup.
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 #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-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-29Fixed #35135 -- Made FilteredRelation raise ValueError on querysets as rhs.Nicolas Delaby
Regression in 59f475470494ce5b8cbff816b1e5dafcbd10a3a3.
2024-01-29Fixed #24128 -- Made admindocs TemplateDetailView respect template_loaders.Kris Avi
Co-Authored-By: Author: Alexander Lazarević <laza@e11bits.com>
2024-01-29Refs #35058 -- Added support for measured geometries to GDAL LineString.David Smith
2024-01-29Updated translations from Transifex.Claude Paroz
Forwardport of 3cc35aafabb1523c39332ee83e769b085ed3d923 from stable/5.0.x.
2024-01-28Refs #35058 -- Made centroid available on all geometry types.David Smith
Centroid is available on all geometry types since GDAL 1.8.0. Previously it was restricted to Polygon. https://gdal.org/doxygen/classOGRGeometry.html#a91787f669b2a148169667e270e7e40df
2024-01-26Applied Black's 2024 stable style.Mariusz Felisiak
https://github.com/psf/black/releases/tag/24.1.0
2024-01-25Refs #35058 -- Added support for measured geometries to GDAL Point.David Smith
Co-authored-by: Nick Pope <nick@nickpope.me.uk>
2024-01-24Fixed #35115 -- Made admin's footer render in <footer> tag.Marijke Luttekes
2024-01-23Fixed #32923 -- Refactored out Field._clean_bound_field().Syed Waheed
2024-01-23Refs #33517 -- Prevented __second lookup from returning fractional seconds ↵Hisham Mahmood
on Oracle.
2024-01-23Refs #35058 -- Deprecated OGRGeometry.coord_dim setter.David Smith
Reflecting a change in the underlying GDAL library (since GDAL 2.1) using coord_dim to set a geometries dimensions is deprecated in favor of set_3d().
2024-01-22Fixed #35130 -- Doc'd django.db.close_old_connections().Salvo Polizzi
This also adds close_db_connections() to the django.db.__all__.
2024-01-19Fixed #35127 -- Made Model.full_clean() ignore GeneratedFields.Mariusz Felisiak
Thanks Claude Paroz for the report. Regression in f333e3513e8bdf5ffeb6eeb63021c230082e6f95.
2024-01-19Fixed #34910 -- Improved color contrast for add/change icons in admin.Hisham Mahmood
2024-01-18Fixed #35121 -- Corrected color for links in the admin.Salvo Polizzi
Thanks Collin Anderson for the report. Regression in 6ad2738a8f32b94cbae742f212080fadf2dee421.
2024-01-18Refs #35058 -- Added is_3d and set_3d() to OGRGeometry.David Smith
2024-01-17Fixed #31700 -- Made makemigrations command display meaningful symbols for ↵Amir Karimi
each operation.
2024-01-16Fixed #35117 -- Added support for the hectare unit in Area.Alexis Athlani
2024-01-16Improved --list-tags help text for check management command.David Sanders
Co-authored-by: David Sanders <shang.xiao.sanders@gmail.com>
2024-01-16Fixed #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-16Fixed #35112 -- Removed previous/next month animation in admin calendar widget.Alexander Lazarević