summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2023-03-16Refs #1873 -- Added test for IncorrectLookupParameters when list of values ↵sarahboyce
is passed to RelatedFieldListFilter.
2023-03-15Reverted "Fixed #33213 -- Doc'd testing code coverage in parallel and used it."Mariusz Felisiak
This reverts commit 69352d85fa8412865db9e0c7f177b333c0eac3e2. Test coverage for async methods was no longer calculated with this change.
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-08Fixed #34384 -- Fixed session validation when rotation secret keys.David Wobrock
Bug in 0dcd549bbe36c060f536ec270d34d9e7d4b8e6c7. Thanks Eric Zarowny for the report.
2023-03-08Refs #32172 -- Used asgiref coroutine shim in async signals tests.Carlton Gibson
Bug in e83a88566a71a2353cebc35992c110be0f8628af.
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-06Refs #34381 -- Fixed InspectDBTransactionalTests.test_foreign_data_wrapper() ↵David Smith
on Windows.
2023-03-05Refs #34381, Refs #10929 -- Fixed ↵David Smith
postgres_tests.test_aggregates.TestGeneralAggretate.test_empty_result_set() on PostgreSQL 14+. Follow up to 0be8095b254fad65b2480d677ebe6098c41bbad6.
2023-03-05Refs #32539 -- Fixed facet filter tests on Oracle.Mariusz Felisiak
Follow up to 868e2fcddae6720d5713924a785339d1665f1bb9.
2023-03-04Refs #34381 -- Fixed isolation of MigrateTests.test_migrate_fake_initial().Mariusz Felisiak
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-03Added test for preserving popup by reset link in the admin changelist.sarahboyce
2023-03-03Moved duplicate user declarations to setUpTestData() in ↵Mariusz Felisiak
AdminSiteFinalCatchAllPatternTests.
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-03Refs #31747 -- Added more tests for preserving query strings when redirect ↵Dominique Bischof
with APPEND_SLASH in admin.
2023-03-03Fixed #34378 -- Made QuerySet.in_bulk() not clear odering when id_list is ↵Ekaterina Vahrusheva
passed. This reverts 340eaded4e30cf25bcd4e9781d33a617fe9c0f84.
2023-03-02Fixed #34374 -- Fixed GIS tests on Windows.Heath Henley
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-24Refs #34338 -- Fixed isolation of constraints tests.Mariusz Felisiak
Regression in 5b3d3e400ab9334ba429ca360c9818c6dfc3a51b.
2023-02-24Refs #34320 -- Added skipIf for a test requiring check constraints.Tim Graham
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-21Refs #16969 -- Added test for not initializing PostGIS-specific stuff for ↵Mariusz Felisiak
non-db connections.
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.
2023-02-18Refs #33308 -- Added tests for queryset ordered by annotation with ↵Simon Charette
nulls_first/nulls_last.
2023-02-17Fixed #34302 -- Fixed SpatialReference.srid for objects without top-level ↵Stefan Brand
authority.
2023-02-17Refs #34302 -- Fixed SpatialReference.auth_name()/auth_code() when target is ↵Stefan Brand
None. force_bytes() turns None into the byte string b"None". Since ctypes.c_char_p() also accepts None, we can bypass force_bytes() if target is None.
2023-02-17Fixed #34342, Refs #33735 -- Fixed test client handling of async streaming ↵Alexandre Spaeth
responses. Bug in 0bd2c0c9015b53c41394a1c0989afbfd94dc2830. Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es>
2023-02-17Refs #34342 -- Added tests for handling sync streaming responses by test client.Alexandre Spaeth
Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es>
2023-02-17Fixed #34343 -- Moved built-in templates to filesystem.Nick Pope
2023-02-16Fixed #34045 -- Improved accessibility of selecting items in admin changelist.Durval Carvalho
This adds "aria-label".
2023-02-15Fixed #34320 -- Make sure constraints names are obtained from truncated ↵nabil-rady
columns names.
2023-02-15Completed test coverage for django.utils.datastructures.Marcelo Galigniana
2023-02-15Completed test coverage for django.db.migrations.graph.Marcelo Galigniana
2023-02-15Completed test coverage for django.forms.utils.Marcelo Galigniana
2023-02-14Fixed #34250 -- Fixed renaming model with m2m relation to a model with the ↵DevilsAutumn
same name.
2023-02-14Fixed #34280 -- Allowed specifying different field values for create ↵tschilling
operation in QuerySet.update_or_create().