David Wobrock
9bbf97bcdb
Fixed #16055 -- Fixed crash when filtering against char/text GenericRelation relation on PostgreSQL.
2023-04-18 12:41:14 +02:00
sarahboyce
594fcc2b74
Fixed #22569 -- Made ModelAdmin.lookup_allowed() respect get_list_filter().
...
Thank you Simon Meers for the initial patch.
2023-04-17 14:09:38 +02:00
Mariusz Felisiak
198a19b692
Refs #34483 -- Fixed timesince()/timeuntil() with timezone-aware dates on different days and interval less than 1 day.
...
Follow up to 813015d67e
.
Regression in 8d67e16493
.
2023-04-14 17:41:03 +02:00
Scott Macpherson
53aee470d5
Fixed #34486 -- Fixed DatabaseOperations.compose_sql() crash with no existing database connection on PostgreSQL.
...
Regression in 09ffc5c121
.
2023-04-14 10:11:33 +02:00
nessita
813015d67e
Fixed #34483 -- Fixed timesince()/timeuntil() with timezone-aware dates and interval less than 1 day.
...
Regression in 8d67e16493
.
Thanks Lorenzo Peña for the report.
2023-04-13 13:16:33 -03:00
Mariusz Felisiak
173034b005
Refs #34482 -- Reverted "Fixed #32969 -- Fixed pickling HttpResponse and subclasses."
...
This reverts commit d7f5bfd241
.
Thanks Márton Salomváry for the report.
2023-04-12 18:52:43 +02:00
Mariusz Felisiak
280ca147af
Fixed #34484 , Refs #34482 -- Reverted "Fixed #29186 -- Fixed pickling HttpRequest and subclasses."
...
This reverts commit 6220c445c4
.
Thanks Adam Johnson and Márton Salomváry for reports.
2023-04-12 18:52:43 +02:00
Marcelo Galigniana
dfc720c521
Fixed #27505 -- Allowed customizing Paginator's error messages.
2023-04-12 14:02:28 +02:00
sarahboyce
041b0a359a
Fixed #34394 -- Added FORCE_SCRIPT_NAME handling to ASGIRequest.
...
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2023-04-12 12:50:48 +02:00
Jacob Walls
c3d7a71f83
Fixed #34480 -- Fixed crash of annotations with Chr().
2023-04-11 05:56:47 +02:00
sarahboyce
3b4728310a
Fixed #34455 -- Restored i18n_patterns() respect of prefix_default_language argument when fallback language is used.
...
Regression in 94e7f471c4
.
Thanks Oussama Jarrousse for the report.
2023-04-10 08:49:54 +02:00
Mariusz Felisiak
2eb1f37260
Refs #34118 -- Fixed CustomChoicesTests.test_uuid_unsupported on Python 3.11.4+.
...
5342f5e713
Follow up to 38e63c9e61
.
2023-04-07 11:07:54 +02:00
Mariusz Felisiak
5b8a043bf5
Fixed #34470 -- Enforced UTF-8 encoding on PostgreSQL.
...
Regression in 6a21658163
.
2023-04-07 10:11:41 +02:00
Anders Kaseorg
73cbb372ba
Fixed #34466 -- Reallowed setting cursor_factory in DATABASES["options"] on PostgreSQL.
...
Regression in 09ffc5c121
.
2023-04-07 08:02:34 +02:00
Simon Charette
9daf8b4109
Fixed #34464 -- Fixed queryset aggregation over group by reference.
...
Regression in 59bea9efd2
.
Refs #28477 .
Thanks Ian Cubitt for the report.
2023-04-07 06:57:32 +02:00
Mariusz Felisiak
4bf4222010
Fixed #34459 -- Fixed SearchVector() crash for parameters with % symbol.
...
Thanks Patryk Zawadzki for the report.
Regression in 09ffc5c121
.
2023-04-06 13:32:47 +02:00
Mariusz Felisiak
02a04ab79a
Moved SearchVectorIndexTests.test_search_vector_index to postgres_tests.test_indexes.
2023-04-06 13:32:47 +02:00
Mariusz Felisiak
38e63c9e61
Refs #34118 -- Fixed CustomChoicesTests.test_uuid_unsupported on Python 3.12+.
...
2a4d8c0a9e
2023-04-05 13:59:10 +02:00
Simon Charette
87c63bd8df
Fixed #34458 -- Fixed QuerySet.defer() crash on attribute names.
...
Thanks Andrew Cordery for the report.
Regression in b3db6c8dcb
.
2023-04-05 05:38:10 +02:00
Simon Charette
0e1aae7a5f
Fixed #34450 -- Fixed multi-valued JOIN reuse when filtering by expressions.
...
Thanks Roman Odaisky for the report.
2023-04-04 14:35:21 +02:00
Ben Lomax
f2b97fbf06
Moved cache decorators tests into decorators/test_cache.py.
2023-04-04 09:53:31 +02:00
th3nn3ss
1d1ddffc27
Fixed #33738 -- Allowed handling ASGI http.disconnect in long-lived requests.
2023-04-03 14:01:48 +02:00
Ran Benita
066aabcb77
Fixed #34445 -- Fixed string-casting of non-string lazy objects.
...
This removes __text_cast() as it's the same as __cast().
_delegate_bytes and __delegate_text are mutually exclusive so the
`if self._delegate_bytes` branch in __cast() is unreachable.
Co-Authored-By: David Sanders <shang.xiao.sanders@gmail.com>
2023-03-30 11:42:10 +02:00
Mariusz Felisiak
7330408ac3
Reverted "Refs #31949 -- Enabled @sensitive_variables to work with async functions."
...
This reverts commits 23cbed2187
and
203a15cadb
.
2023-03-30 10:22:23 +02:00
David Sanders
5dba5fda55
Fixed #34427 -- Improved error message when context processor does not return a dict.
2023-03-29 08:54:04 +02:00
Mariusz Felisiak
996c802229
Fixed #34443 -- Fixed filtering by transforms on reverse relations.
...
Regression in ce6230aa97
.
2023-03-28 21:03:24 +02:00
Mariusz Felisiak
3afdc9e9b4
Refs #29799 -- Added field instance lookups to suggestions in FieldErrors.
...
Bug in cd1afd553f
.
2023-03-28 19:18:48 +02:00
Gary Jarrel
fcc7dc5781
Fixed #34438 -- Reallowed extending UserCreationForm.
...
Regression in 298d02a77a
.
2023-03-28 11:33:20 +02:00
sarahboyce
45ecd9acca
Fixed #28384 -- Fixed ModelAdmin.lookup_allowed() for OneToOneField primary keys and nested relations.
2023-03-28 09:26:39 +02:00
Tom Carrick
d687febce5
Fixed #34383 -- Fixed layout of admin fieldsets with multiple fields on the same line.
...
Thanks Antonio Candido Nazareth junior for the report.
Regression in 96a598356a
.
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2023-03-27 14:05:24 +02:00
David Wobrock
21757bbdcd
Refs #28948 -- Removed superfluous messages from cookie through bisect.
2023-03-27 09:22:00 +02:00
David Wobrock
9d0c878abf
Refs #28948 -- Precomputed once serialized cookie messages.
...
When the cookie size is too long, the same messages were serialized
over and over again.
2023-03-27 09:14:54 +02:00
David Wobrock
67208a5ad6
Fixed typo in tests/messages_tests/test_cookie.py.
2023-03-27 08:55:48 +02:00
Simon Charette
cb13792938
Fixed #34437 -- Made values() resolving error mention selected annotations.
...
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-25 20:22:45 +01:00
David Smith
cad376f844
Fixed #34077 -- Added form field rendering.
2023-03-24 10:16:30 +01:00
David Wobrock
d6b6e5d0fd
Fixed #28553 -- Fixed annotation mismatch with QuerySet.values()/values_list() on compound queries.
...
Co-authored-by: Matthias Kestenholz <mk@feinheit.ch>
2023-03-24 06:09:27 +01:00
Jon Janzen
23cbed2187
Refs #31949 -- Enabled @sensitive_variables to work with async functions.
2023-03-22 10:21:04 +01:00
Jure Slak
d22209cb42
Fixed #34424 -- Fixed SelectDateWidget crash for inputs raising OverflowError.
2023-03-22 07:59:39 +01:00
Jure Slak
b4870e7196
Refs #34434 -- Added assertion for cleaning 0-0-0 for forms.DateField.
2023-03-22 07:50:03 +01:00
Carlton Gibson
02c356f2f3
Fixed #34428 -- Made ASGIStaticFilesHandler adapt response to async iterator.
...
Bug in 0bd2c0c901
.
2023-03-21 20:51:53 +01:00
T. Franzel
a2eaea8f22
Fixed #34388 -- Allowed using choice enumeration types directly on model and form fields.
2023-03-21 19:44:41 +01:00
David Smith
051d5944f8
Refs #33134 , Refs #34077 -- Adjusted form rendering recursion test.
...
Adjusted recursion depth test to use str() rather than the form or
field’s render() method.
2023-03-21 15:12:56 +01:00
Liyang Zhang
f9f9215d3e
Fixed some typos in comments, docstrings, and tests.
2023-03-20 08:07:23 +01:00
Andy Chosak
b295b31171
Fixed #34420 -- Corrected the order of imports in generated migration files.
2023-03-20 06:23:08 +01:00
Mariusz Felisiak
e10c1688f9
Fixed #34322 -- Made ES module support to ManifestStaticFilesStorage optional.
...
Co-authored-by: Author: Claude Paroz <claude@2xlibre.net>
2023-03-18 14:05:41 +01:00
hb6h057
2ffa815c73
Fixed #34421 -- Fixed QuerySet.update() on querysets in descending order by annotations.
2023-03-18 13:19:40 +01:00
sarahboyce
d2b688b966
Fixed #1873 -- Handled multi-valued query parameters in admin changelist filters.
2023-03-16 08:38:44 +01:00
sarahboyce
8d6f959be2
Refs #1873 -- Added test for IncorrectLookupParameters when list of values is passed to RelatedFieldListFilter.
2023-03-16 08:34:26 +01:00
Mariusz Felisiak
78da5ca0c1
Reverted "Fixed #33213 -- Doc'd testing code coverage in parallel and used it."
...
This reverts commit 69352d85fa
.
Test coverage for async methods was no longer calculated with this
change.
2023-03-15 13:05:48 +01:00
David Wobrock
de0c7744be
Refs #28329 -- Fixed Cast() with ForeignKey to integer fields on MySQL.
2023-03-14 08:32:17 +01:00