| Age | Commit message (Collapse) | Author |
|
Thanks Claude Paroz for the report.
Regression in f333e3513e8bdf5ffeb6eeb63021c230082e6f95.
Backport of 4879907223d70ee1a82474d9286ccfa5dae96971 from main
|
|
ForeignKeys.
Thanks Deb Kumar Das for the report.
Regression in f333e3513e8bdf5ffeb6eeb63021c230082e6f95.
Backport of b287af5dc954628d4b336aefc5027b2edceee64b from main
|
|
GeneratedField.output_field with backend converters.
Regression in d9de74141e8a920940f1b91ed0a3ccb835b55729.
This is a long standing issue, however it caused a crash of
GeneratedFields for all output fields that have backend-specific
converters when the RETURNING clause is not supported
(MySQL and SQLite < 3.35).
That's why severity was exacerbated.
Backport of 5b3b791e9046461901df3898be8544e14d91b931 from main
|
|
when apps are not populated.
Thanks Paolo Melchiorre for the report.
Regression in f333e3513e8bdf5ffeb6eeb63021c230082e6f95.
Backport of 101a85a5a06585ba16ecb25860146d034a8a55ec from main
|
|
Regression in f333e3513e8bdf5ffeb6eeb63021c230082e6f95.
Backport of 5875f03ce61b85dfd9ad34f7b871c231c358d432 from main
|
|
CockroachDB and Snowflake don't support it.
Backport of 208870b6122c4cbc39c3b2432e13db54c920db51 from main
|
|
with output_field with params.
Backport of e7e8eb44a30bcab004a582760752b5eb3fcd6e91 from main
|
|
DatabaseFeatures.nulls_order_largest=False.
Failure observed on CockroachDB.
Backport of b0788a0918d0e12bc8878581d99adc3a79799f94 from main
|
|
Test regression in f333e3513e8bdf5ffeb6eeb63021c230082e6f95.
Backport of 8af3ae4ad9ca475f2428fac950de8df56b575e6a from main
|
|
|
|
Thanks Simon Charette for the implementation idea.
|
|
|
|
Thanks Adam Johnson and Paolo Melchiorre for reviews.
Co-Authored-By: Lily Foote <code@lilyf.org>
Co-Authored-By: Mariusz Felisiak <felisiak.mariusz@gmail.com>
|
|
ChoiceField's choices.
|
|
|
|
without width/height fields.
This avoids reading the image size when the dimensions fields
(image_width, image_height) do not exist, as that operation may be
expensive.
Partially reverts ea53e7c09f1b8864c20c65976bbeaeab77abdaec, that dropped
the check for the dimension fields in update_dimension_fields(), because
the post_init signal was no longer registered without dimension fields.
However, another code path to that function exists: when the
ImageFileField is save()d, the name from the storage is setattr()ed on
the field, and ImageFileDescriptor calls update_dimension_fields()
because the image size might have changed. Keep bailing out early when
dimensions are unused.
Besides, computing the image dimensions causes to close() the file,
resulting in a backward-incompatible change. The test protects against
that change.
|
|
values to decimal."
This reverts 7990d254b0af158baf827fafbd90fe8e890f23bd.
Thanks Marc Odermatt for the report.
|
|
Regression in 5c23d9f0c32f166c81ecb6f3f01d5077a6084318.
|
|
width/height fields.
|
|
form fields.
|
|
This prevents a sqlite3 crash and address a potential DDoS vector on
PostgreSQL caused by full-table-scans on overflows.
|
|
Black 23.1.0 is released which, as the first release of the year,
introduces the 2023 stable style. This incorporates most of last year's
preview style.
https://github.com/psf/black/releases/tag/23.1.0
|
|
|
|
Thanks Simon Charette, Tim Graham, and Adam Johnson for reviews.
Co-authored-by: Florian Apolloner <florian@apolloner.eu>
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
|
|
to JSONField & co.
JSON should be provided as literal Python objects an not in their
encoded string literal forms.
|
|
assertQuerySetEqual().
Co-Authored-By: Michael Howitz <mh@gocept.com>
|
|
|
|
-Inf values.
|
|
|
|
|
|
Added in e9bbdb39de3047761fa8d03d5241eccd571093ff.
Obsolete since e9103402c0fa873aea58a6a11dba510cd308cb84.
|
|
|
|
It accounts for differences seen on MySQL with MyISAM storage engine.
|
|
|
|
MariaDB, MySQL, Oracle, and SQLite.
|
|
Most QuerySet methods are mapped onto the Manager and, in general,
it isn't necessary to call .all() on the manager.
|
|
|
|
|
|
In these cases Black produces unexpected results, e.g.
def make_random_password(
self,
length=10,
allowed_chars='abcdefghjkmnpqrstuvwxyz' 'ABCDEFGHJKLMNPQRSTUVWXYZ' '23456789',
):
or
cursor.execute("""
SELECT ...
""",
[table name],
)
|
|
Regression in 502e75f9ed5476ffe8229109acf0c23999d4b533.
|
|
|
|
django.db.models.
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
|
|
- Validate filename returned by FileField.upload_to() not a filename
passed to the FileField.generate_filename() (upload_to() may
completely ignored passed filename).
- Allow relative paths (without dot segments) in the generated filename.
Thanks to Jakub Kleň for the report and review.
Thanks to all folks for checking this patch on existing projects.
Thanks Florian Apolloner and Markus Holtermann for the discussion and
implementation idea.
Regression in 0b79eb36915d178aef5c6a7bbce71b1e76d376d3.
|
|
|
|
transforms with booleans on SQLite.
Thanks Matthew Cornell for the report.
|
|
with structures containing booleans.
|
|
booleans.
|
|
|
|
|
|
__isnull=True on key transforms should not match keys with NULL values.
|