summaryrefslogtreecommitdiff
path: root/django
AgeCommit message (Collapse)Author
2023-03-27Refs #28948 -- Removed superfluous messages from cookie through bisect.David Wobrock
2023-03-27Refs #28948 -- Precomputed once serialized cookie messages.David Wobrock
When the cookie size is too long, the same messages were serialized over and over again.
2023-03-25Fixed #34437 -- Made values() resolving error mention selected annotations.Simon Charette
While the add_fields() call from set_values() does trigger validation it does so after annotations are masked resulting in them being excluded from the choices of valid options surfaced through a FieldError.
2023-03-24Refs #34316 -- Fixed layout of admin password change forms and help texts ↵Mariusz Felisiak
for RTL languages. Regression in 96a598356a9ea8c2c05b22cadc12e256a3b295fd. Follow up to e67804668115fd388e7554c6a809bd409f70adfe and 39d1e45227e060746ed461fddde80fa2b6cf0dcd.
2023-03-24Refs #32539 -- Fixed hide counts icon for RTL languages.Mariusz Felisiak
Bug in 868e2fcddae6720d5713924a785339d1665f1bb9.
2023-03-24Fixed #34077 -- Added form field rendering.David Smith
2023-03-24Fixed #28553 -- Fixed annotation mismatch with ↵David Wobrock
QuerySet.values()/values_list() on compound queries. Co-authored-by: Matthias Kestenholz <mk@feinheit.ch>
2023-03-23Refs #34316 -- Fixed displaying error lists in admin password change forms ↵Mariusz Felisiak
on small screens. Follow up to e67804668115fd388e7554c6a809bd409f70adfe.
2023-03-23Refs #33781 -- Restored alignment for admin split-field timezone warnings ↵Mariusz Felisiak
for RTL languages. Regression in f3e2bb0833105f43efc0cc6f19c8465bc1b1a785.
2023-03-22Refs #31949 -- Enabled @sensitive_variables to work with async functions.Jon Janzen
2023-03-22Fixed #34424 -- Fixed SelectDateWidget crash for inputs raising OverflowError.Jure Slak
2023-03-21Fixed #34428 -- Made ASGIStaticFilesHandler adapt response to async iterator.Carlton Gibson
Bug in 0bd2c0c9015b53c41394a1c0989afbfd94dc2830.
2023-03-21Fixed #34388 -- Allowed using choice enumeration types directly on model and ↵T. Franzel
form fields.
2023-03-20Fixed some typos in comments, docstrings, and tests.Liyang Zhang
2023-03-20Fixed #34420 -- Corrected the order of imports in generated migration files.Andy Chosak
2023-03-20Updated source translation catalogs.Mariusz Felisiak
Forwardport of 7e79fb35d4aebced5eda2f14f8d4314c73f558d2 from stable/4.2.x.
2023-03-18Fixed #34322 -- Made ES module support to ManifestStaticFilesStorage optional.Mariusz Felisiak
Co-authored-by: Author: Claude Paroz <claude@2xlibre.net>
2023-03-18Fixed #34421 -- Fixed QuerySet.update() on querysets in descending order by ↵hb6h057
annotations.
2023-03-16Fixed #1873 -- Handled multi-valued query parameters in admin changelist ↵sarahboyce
filters.
2023-03-16Refs #1873 -- Used GET.lists() in admin filters.sarahboyce
2023-03-14Improved connection clean-up for SMTP backend.Carlton Gibson
2023-03-14Refs #28329 -- Fixed Cast() with ForeignKey to integer fields on MySQL.David Wobrock
2023-03-14Fixed #34405 -- Fixed setting Content-Type header in FileResponse for ↵Mariusz Felisiak
compress and brotli. Thanks Chamal De Silva for the report.
2023-03-12Fixed #34407 -- Reported filename when decoding fails in collectstatic's ↵Claude Paroz
post_process.
2023-03-10Fixed #34333 -- Fixed migration operations ordering when adding ↵Durval Carvalho
index/constraint on new foreign key. Thanks Simon Charette and David Wobrock for reviews.
2023-03-09Fixed #27397 -- Prevented integer overflows on integer field lookups.Simon Charette
This prevents a sqlite3 crash and address a potential DDoS vector on PostgreSQL caused by full-table-scans on overflows.
2023-03-09Fixed #33985 -- Used app_config.verbose_name in ContentType.__str__().Hrushikesh Vaidya
2023-03-09Fixed #34395 -- Updated admin's jQuery to 3.6.4.Mariusz Felisiak
2023-03-08Fixed #34370 -- Added integer fields validation as 64-bit on SQLite.nabil-rady
2023-03-08Fixed #34384 -- Fixed session validation when rotation secret keys.David Wobrock
Bug in 0dcd549bbe36c060f536ec270d34d9e7d4b8e6c7. Thanks Eric Zarowny for the report.
2023-03-07Fixed #31920 -- Made AuthenticationMiddleware add request.auser().Jon Janzen
2023-03-07Fixed #32172 -- Adapted signals to allow async handlers.Jon Janzen
co-authored-by: kozzztik <kozzztik@mail.ru> co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es>
2023-03-06Fixed #34386 -- Made SMTP backend load default system root CA certificates ↵Dmitriy Sintsov
by default. Regression in 2848e5d0ce5cf3c31fe87525536093b21d570f69.
2023-03-03Fixed #32539 -- Added toggleable facet filters to ModelAdmin.sarahboyce
Thanks Carlton Gibson, Simon Willison, David Smith, and Mariusz Felisiak for reviews.
2023-03-03Fixed #34377 -- Fixed preserving query strings in AdminSite.catch_all_view().Dominique Bischof
Included full path when redirecting with append slash to include query strings. Regression in ba31b0103442ac891fb3cb98f316781254e366c3.
2023-03-03Fixed #34378 -- Made QuerySet.in_bulk() not clear odering when id_list is ↵Ekaterina Vahrusheva
passed. This reverts 340eaded4e30cf25bcd4e9781d33a617fe9c0f84.
2023-03-02Moved str() calls to DateFieldListFilter.choices().sarahboyce
2023-03-02Refs #34320 -- Stopped recreating check constraints when renaming fields.Mariusz Felisiak
This also fixes test_rename_field_with_check_to_truncated_name() on MariaDB 10.5.2+ as ALTER TABLE ... RENAME COLUMN statement doesn't rename inline constraints.
2023-02-27Fixed #34368 -- Made subquery raise NotSupportedError when referencing outer ↵Simon Charette
window expression. Regression in f387d024fc75569d2a4a338bfda76cc2f328f627. Co-authored-by: Jannis Vajen <jvajen@gmail.com>
2023-02-27Fixed #34372 -- Fixed queryset crash on order by aggregation using OrderBy.Simon Charette
Regression in 278881e37619278789942513916acafaa88d26f3 caused by a lack of expression copying when an OrderBy expression is explicitly provided. Thanks Jannis Vajen for the report and regression test.
2023-02-24Fixed #34366 -- Reduced AlterField operations when optimizing migrations.Laurent Tramoy
2023-02-23Refs #30060, Refs #34217 -- Made SchemaEditor not generate SQL for ↵Mariusz Felisiak
CheckConstraint if not supported. The new logic mirrors the logic in SchemaEditor._delete_check_sql() added in 68ef274bc505cd44f305c03cbf84cf08826200a8. Thanks Tim Graham for the report.
2023-02-23Fixed #34338 -- Allowed customizing code of ValidationError in ↵Xavier Fernandez
BaseConstraint and subclasses.
2023-02-23Refs #33829 -- Added violation_error_message to constraints' __repr__().Xavier Fernandez
2023-02-22Fixed #34363 -- Fixed floatformat crash on zero with trailing zeros.Panagiotis H.M. Issaris
Regression in 08c5a787262c1ae57f6517d4574b54a5fcaad124. Follow up to 4b066bde692078b194709d517b27e55defae787c.
2023-02-22Fixed #34355 -- Deprecated passing positional arguments to BaseConstraint.Xavier Fernandez
2023-02-21Refs #31445 -- Added test for nesting QuerySet.union().Mariusz Felisiak
This was fixed in MySQL 8.0.31.
2023-02-21Fixed #34344 -- Allowed PostGIS DatabaseWrapper subclasses to customize ↵David Buhler
(features/introspection/ops)_class classes.
2023-02-20Fixed #34349 -- Fixed FormSet.empty_form crash when deleting extra forms is ↵Laurens Verhoeven
disabled.
2023-02-20Fixed #34346 -- Ordered selected expressions by position.Simon Charette
Used the same approach as for #34176 by using selected expressions position to prevent ambiguous aliases in collisions. Thanks henribru for the report. Regression in 04518e310d4552ff7595a34f5a7f93487d78a406.