summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-02-19Fixed closing connections in test_utils.tests.AllowedDatabaseQueriesTests.Mariusz Felisiak
2024-02-19Refs #28011 -- Removed ForeignObjectRel.is_hidden().Adam Johnson
2024-02-19Fixed #35224 -- Made GenericForeignKey inherit from Field.Adam Johnson
2024-02-19Updated my entry in AUTHORS.Erin Kelly
2024-02-19Refs #34060 -- Fixed JSONField __exact lookup for primitivies on Oracle 21c+.Albert Defler
Regression in c991602ce5798385261381025c06698d7fd30dc5. Co-Authored-By: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2024-02-19Fixed #35232 -- Cached model's Options.verbose_name_raw.Adam Johnson
2024-02-19Fixed #35229 -- Made URL custom error handler check run once.Adam Johnson
2024-02-19Fixed #35230 -- Added cached ForeignObjectRel.accessor_name.Adam Johnson
2024-02-17Fixed #28011 -- Corrected Field.hidden docs.Adam Johnson
2024-02-17Fixed #35187 -- Fixed @sensitive_variables/sensitive_post_parameters ↵Mariusz Felisiak
decorators crash with .pyc-only builds. Thanks Jon Janzen for the implementation idea. Thanks Marcus Hoffmann for the report. Regression in 38e391e95fe5258bc6d2467332dc9cd44ce6ba52.
2024-02-16Fixed #24018 -- Allowed setting pragma options on SQLite.Aaron Linville
2024-02-16Fixed #29725 -- Removed unnecessary join in QuerySet.count() and exists() on ↵ontowhee
a many to many relation. Co-Authored-By: Shiwei Chen <april.chen.0615@gmail.com>
2024-02-16Refs #34060 -- Fixed crash when filtering against literal JSON with psycopg2.Simon Charette
2024-02-15Fixed #34060 -- Fixed migrations crash when adding check constraints with ↵Albert Defler
JSONField __exact lookup on Oracle.
2024-02-15Fixed #33037 -- Fixed Trunc() with offset timezones on MySQL, SQLite, Oracle.Shafiya Adzhani
2024-02-15Improved test helpers in truncated date/time field tests.Shafiya Adzhani
Co-authored-by: Lily Foote <code@lilyf.org>
2024-02-15Refs #30686 -- Removed unused regexes in django.utils.text.Mariusz Felisiak
Unused since 6ee37ada3241ed263d8d1c2901b030d964cbd161.
2024-02-14Fixed #35173 -- Fixed ModelAdmin.lookup_allowed() for lookups on foreign ↵Hisham Mahmood
keys when not included in ModelAdmin.list_filter. Regression in f80669d2f5a5f1db9e9b73ca893fefba34f955e7. Thanks Sarah Boyce for the review.
2024-02-14Fixed #35195 -- Removed unnecessary type="text/css" attributes from <style> ↵Cosmic Process
tags.
2024-02-14Fixed #35179 -- Made admindocs detect positional/keyword-only arguments.Salvo Polizzi
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.