Matthias Kestenholz
d84200e4eb
Fixed #35648 -- Raised NotImplementedError in SafeString.__add__ for non-string RHS.
...
This change ensures SafeString addition operations handle non-string RHS
properly, allowing them to implement __radd__ for better compatibility.
2024-08-12 14:25:05 -03:00
Devin Cox
e03083917d
Fixed #35586 -- Added support for set-returning database functions.
...
Aggregation optimization didn't account for not referenced set-returning annotations on Postgres.
Co-authored-by: Simon Charette <charette.s@gmail.com>
2024-08-12 15:35:19 +02:00
Mark Gensler
228128618b
Fixed #35575 -- Added support for constraint validation on GeneratedFields.
2024-08-12 13:45:57 +02:00
Andrew Miller
69aa13ffb9
Fixed #35591 -- Added unsuitable for production console warning to runserver.
2024-08-09 10:34:10 +02:00
Adam Johnson
9582745257
Fixed #35622 -- Made unittest ignore Django assertions in traceback frames.
...
Co-authored-by: Natalia <124304+nessita@users.noreply.github.com>
2024-08-08 21:34:01 -03:00
Jake Howard
d5bebc1c26
Refs #35537 -- Improved documentation and test coverage for email attachments and alternatives.
2024-08-05 09:21:44 +02:00
Mariusz Felisiak
6d3464cff0
Refs #35601 , Refs #35599 -- Made cosmetic edits to TelInput/ColorInput docs.
2024-08-02 17:40:53 -03:00
lucasesposito
b478cae006
Fixed #35601 -- Added TelInput widget.
2024-08-02 11:31:54 +02:00
arjunomray
946c3cf734
Fixed #35599 -- Added ColorInput widget.
2024-08-02 09:51:49 +02:00
Markus Holtermann
aa90795050
Fixed #35646 -- Extended SafeExceptionReporterFilter.hidden_settings to treat AUTH
as a sensitive match.
...
Co-authored-by: Natalia <124304+nessita@users.noreply.github.com>
2024-08-01 15:02:00 -03:00
Jeremy Thompson
30a60e8492
Fixed #35598 -- Added SearchInput widget.
2024-07-31 13:11:45 +02:00
Simon Charette
65ad4ade74
Refs #28900 -- Made SELECT respect the order specified by values(*selected).
...
Previously the order was always extra_fields + model_fields + annotations with
respective local ordering inferred from the insertion order of *selected.
This commits introduces a new `Query.selected` propery that keeps tracks of the
global select order as specified by on values assignment. This is crucial
feature to allow the combination of queries mixing annotations and table
references.
It also allows the removal of the re-ordering shenanigans perform by
ValuesListIterable in order to re-map the tuples returned from the database
backend to the order specified by values_list() as they'll be in the right
order at query compilation time.
Refs #28553 as the initially reported issue that was only partially fixed
for annotations by d6b6e5d0fd
.
Thanks Mariusz Felisiak and Sarah Boyce for review.
2024-07-03 16:36:25 +02:00
Andreu Vallbona
0fdcf1029c
Fixed #22712 -- Avoided name shadowing of "all" in django.contrib.staticfiles.finders.
...
Co-authored-by: Natalia <124304+nessita@users.noreply.github.com>
2024-06-27 23:37:12 -03:00
Ronny Vedrilla
5fef6d2445
Fixed #35528 -- Added EmailMultiAlternatives.body_contains() helper method.
2024-06-21 12:00:56 +02:00
Jake Howard
aba0e541ca
Fixed #35537 -- Changed EmailMessage.attachments and EmailMultiAlternatives.alternatives to use namedtuples.
...
This makes it more descriptive to pull out the named fields.
2024-06-20 09:43:40 +02:00
Baptiste Mispelon
62300b81cf
Fixed #12978 -- Added support for RSS feed stylesheets.
2024-06-18 17:25:43 +02:00
stefan.ivic
ce1ad98565
Fixed #35505 -- Added extrabody block to admin/base.html.
2024-06-18 16:49:53 +02:00
Mariusz Felisiak
b049bec7cf
Fixed #35479 -- Dropped support for PostgreSQL 13 and PostGIS 3.0.
2024-05-27 09:49:25 +02:00
Natalia
04a208d7f1
Increased the default PBKDF2 iterations for Django 5.2.
2024-05-22 15:44:07 -03:00
Natalia
ec44247f59
Added stub release notes for 5.2.
2024-05-22 15:44:07 -03:00