| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Missing function call `()` leads to:
TypeError: descriptor '__init__' of 'super' object needs an argument
Regression in b209518089131c6b4afd18b1d9c320ba3521c5ab.
|
|
|
| |
Thanks David Sanders for the report.
|
| |
|
|
|
|
|
|
|
|
|
| |
While deferring many-to-many and GFK has no effect, the previous
implementation of QuerySet.defer() ignore them instead of crashing.
Regression in b3db6c8dcb5145f7d45eff517bcd96460475c879.
Thanks Paco Martínez for the report.
|
|
|
|
| |
Regression in 5c23d9f0c32f166c81ecb6f3f01d5077a6084318.
|
|
|
|
|
|
|
|
| |
Special thanks to Hannes Ljungberg for finding multiple implementation
gaps.
Thanks also to Simon Charette, Adam Johnson, and Mariusz Felisiak for
reviews.
|
|
|
|
| |
strings iterators.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Proper escaping of % in string literals used when defining constaints
was attempted (a8b3f96f6) by overriding quote_value of Postgres and
Oracle schema editor. The same approach was used when adding support for
constraints to the MySQL/MariaDB backend (1fc2c70).
Later on it was discovered that this approach was not appropriate and
that a preferable one was to pass params=None when executing the
constraint creation DDL to avoid any form of interpolation in the first
place (42e8cf47).
When the second patch was applied the corrective of the first were not
removed which caused % literals to be unnecessary doubled. This flew
under the radar because the existings test were crafted in a way that
consecutive %% didn't catch regressions.
This commit introduces an extra test for __exact lookups which
highlights more adequately % doubling problems but also adjust a
previous __endswith test to cover % doubling problems (%\% -> %%\%%).
Thanks Thomas Kolar for the report.
Refs #32369, #30408, #30593.
|
|
|
|
|
|
|
|
|
|
| |
This ensures that constraint violations are tested in isolation from
each other as an IntegrityError only ensures a least one constraint is
violated.
For example, the assertion added in 42e8cf4 break both the
name_constraint_rhs and the rebate_constraint constraints and thus
doesn't constitute a proper regression test. Refs #32369.
|
| |
|
|
|
|
| |
It's also supported on SQLite 3.35+ and MariaDB 10.5+.
|
|
|
|
| |
when optimizing migrations.
|
| |
|
|
|
|
|
|
|
|
|
| |
Oracle.
Regression in 09ffc5c1212d4ced58b708cbbf3dfbfb77b782ca.
Thanks Michael Smith for the report.
This also reverts commit 1e4da439556cdd69eb9f91e07f99cf77997e70d2.
|
| |
|
| |
|
| |
|
| |
|
|
|
| |
Unnecessary since ebf25555bbed3e9112d4b726575d60b242daf48a.
|
|
|
|
|
| |
isn't installed.
Follow up to fb4c55d9ec4bb812a7fb91fa20510d91645e411b.
|
|
|
|
|
|
| |
CommandError.
Regression in 5b884d45ac5b76234eca614d90c83b347294c332.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
validation when uploading multiple files using one form field.
Thanks Moataz Al-Sharida and nawaik for reports.
Co-authored-by: Shai Berger <shai@platonix.com>
Co-authored-by: nessita <124304+nessita@users.noreply.github.com>
|
|
|
|
|
|
|
|
| |
Meta.indexes/index_together when optimizing migrations.
This makes squashing migrations an available path for changing
Meta.index_together, which is deprecated, to Meta.indexes.
Follow up to f81032572107846922745b68d5b7191058fdd5f5.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
QuerySet.update_or_create() with MyISAM storage engine.
QuerySet.update_or_create() uses nested atomic to handle possible
integrity errors taking savepoints as way to mark back the connection
as usable. Savepoints are not returned when
uses_savepoints/can_release_savepoints feature flags are set to False.
As a consequence, QuerySet.update_or_create() assumed the outer atomic
block is tainted and raised TransactionManagementError.
This commit partly reverts 331a460f8f2e4f447b68fba491464b68c9b21fd1.
Thanks gatello-s for the report.
|
|
|
|
| |
width/height fields.
|
| |
|
| |
|
|
|
|
| |
ModelAdmin.list_display.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
patterns are used.
Regression in 94e7f471c4edef845a4fe5e3160132997b4cca81.
This reverts commit 94e7f471c4edef845a4fe5e3160132997b4cca81
(refs #34069) and
partly reverts commit 3b4728310a7a64f8fcc548163b0aa5f98a5c78f5.
Thanks Anthony Baillard for the report.
Co-Authored-By: Sarah Boyce <42296566+sarahboyce@users.noreply.github.com>
|
| |
|
|
|
|
| |
self-referential subqueries if supported.
|
|
|
|
|
| |
EmailBackend.ssl_context.
Follow up to 2848e5d0ce5cf3c31fe87525536093b21d570f69.
|
|
|
|
| |
This also deprecates "http" as the default scheme.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Revert "Reverted "Fixed #33213 -- Doc'd testing code coverage in parallel and used it.""
This reverts commit 78da5ca0c1f2ab3201f8f6cd629e80d805ea023d.
* Restored coverage multiprocess concurrency with threads
Investigating https://github.com/nedbat/coveragepy/issues/1585 revealed
that thread tracing gets disabled when passing
`concurrency = multiprocessing`. Adding `thread` restores it, and
ensures that the `auser()` is reported as covered since the test suite
uses `AsyncToSync` to execute this middleware (which spawns threads).
|
| |
|
|
|
|
| |
form.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Thanks Adam (ataylor32) for the report.
Regression in 872b61193b013a700ff88cf50f0eb2cf2c266ff7.
|
| |
|
|
|
|
|
|
| |
with async functions.
Thanks Carlton Gibson and Mariusz Felisiak for reviews.
|
| |
|
| |
|
|
|
|
| |
ModelAdmin.list_display.
|