ar3ph
72ae25a9c2
Fixed #36879 -- Identified Django client in Redis client metadata.
2026-02-03 06:40:29 -05:00
seanhelvey
b1ffa9a9d7
Fixed #13883 -- Rendered named choice groups with <optgroup> in FilteredSelectMultiple.
...
This patch adds support for <optgroup>s in FilteredSelectMultiple widgets.
When a popup returns a new object, if the source field contains optgroup
choices, the optgroup is now also included in the response data.
Additionally, this adds error handling for invalid source_model parameters
to prevent crashes and display user-friendly error messages instead.
Co-authored-by: Michael McLarnon <mmclar@gmail.com >
2026-01-22 21:12:23 -05:00
Jonathan Biemond
b172cbdf33
Fixed #36808 -- Required name argument in UniqueConstraint signature.
...
By trading ValueError for TypeError for omitted name arguments,
we gain a little clarity.
2025-12-19 09:48:15 -05:00
Benedict Etzel
5401b125ab
Fixed #36717 -- Redirect authenticated users on admin login view to next URL.
...
Co-authored-by: Natalia <124304+nessita@users.noreply.github.com >
2025-11-12 19:42:24 -03:00
Kasyap Pentamaraju
0ea01101c3
Fixed #36681 -- Removed English pluralization bias from example in docs/topics/i18n/translation.txt.
2025-10-27 14:41:53 -04:00
Matthew Shirley
4744e9939b
Fixed #36683 -- Added error message on QuerySet.update() following distinct(*fields).
2025-10-25 12:21:27 -04:00
Annabelle Wiegart
7423918125
Fixed #35095 -- Clarified Swiss number formatting in docs/topics/i18n/formatting.txt.
...
Co-authored-by: Ahmed Nassar <a.moh.nassar00@gmail.com >
2025-10-23 10:11:52 -04:00
Mariusz Felisiak
0c487aa3a7
Fixed #21961 -- Added support for database-level delete options for ForeignKey.
...
Thanks Simon Charette for pair programming.
Co-authored-by: Nick Stefan <NickStefan12@gmail.com >
Co-authored-by: Akash Kumar Sen <71623442+Akash-Kumar-Sen@users.noreply.github.com >
Co-authored-by: Simon Charette <charette.s@gmail.com >
2025-10-18 15:03:50 +02:00
okaybro
afe6634146
Fixed #36587 -- Clarified usage of list.insert() for upload handlers.
...
Thanks Baptiste Mispelon for the report
Co-authored-by: Natalia <124304+nessita@users.noreply.github.com >
2025-09-29 14:48:06 +02:00
Caitie Baca
0e0b4214c3
Fixed #36589 -- Made assertTemplateUsed/NotUsed track full path for PartialTemplate.
...
Previously, assertTemplateUsed only matched partial names, ignoring
the template origin. This caused assertions on partials specified by
origin ("template.html#partial") to fail. Refs #36410 .
2025-09-15 16:45:13 -04:00
Ronan LE HAY
e197953f11
Refs #34989 -- Ensured the Content-Length header is set when redirect with APPEND_SLASH.
2025-09-03 22:49:34 +02:00
michalpokusa
2c99fbcf95
Fixed #36368 -- Prevented duplicate locale paths and write_po_file calls in makemessages.
2025-08-12 09:47:16 +02:00
mriduldhall
d4dd3e503c
Fixed #36519 -- Made center template filter consistent for even/odd padding.
...
Refactored `center` template filter to match f-string behaviour,
producing consistent padding for both odd and even fillings.
Thanks Lily Acorn for the report and Natalia Bidart for the review.
Co-authored-by: Lily Acorn <code@lilyf.org >
2025-07-28 16:41:06 -03:00
Roel Delos Reyes
78fac1b047
Fixed #36226 -- Accepted str or bytes for password and salt in password hashers.
...
Co-authored-by: Screamadelica <1621456391@sjtu.edu.cn >
2025-07-22 12:15:10 +02:00
Anthony Sottile
5488530a27
Fixed #36377 -- Added hints support to CreateExtension and subclasses.
2025-07-22 08:04:55 +02:00
Blayze
90429625a8
Fixed #36423 -- Prevented filter_horizontal buttons from intercepting form submission.
...
In the admin's filter_horizontal widget, optional action buttons like
"Choose all", "Remove all", etc. were changed from `<a>` to `<button>`
elements in #34619 , but without specifying `type="button"`. As a result,
when pressing Enter while focused on a form input, these buttons could
be triggered and intercept form submission.
Explicitly set `type="button"` on these control buttons to prevent them
from acting as submit buttons.
Thanks Antoliny Lee for the quick triage and review.
Regression in 857b1048d5 .
2025-06-02 22:25:14 -03:00
Colleen Dunlap
802baf5da5
Fixed #36388 -- Made QuerySet.union() return self when called with no arguments.
...
Regression in 9cb8baa0c4 .
Thank you to Antoine Humeau for the report and Simon Charette for the review.
2025-05-19 10:34:14 +02:00
Ahmed Nassar
84e91262d6
Fixed #36295 , Refs #24305 -- Allowed overriding GenericForeignKey fields on abstract models.
2025-05-08 16:07:08 +01:00
9r0k
3babda775d
Fixed #36346 -- Removed outdated section about the threaded option in Oracle driver.
2025-04-27 14:16:50 +02:00
Mikuláš Poul
494d2dc316
Fixed #36274 -- Added support for run_before and atomic in MigrationWriter.
2025-04-16 10:20:49 +02:00
Giannis Terzopoulos
a39c28706a
Fixed #35529 -- Added support for positional arguments in querystring template tag.
...
Co-authored-by: Natalia <124304+nessita@users.noreply.github.com >
2025-03-25 12:23:41 -03:00
Jason Cameron
9608678704
Fixed #36262 -- Made GeneratedField.db_persist a required key-word argument.
2025-03-25 12:50:24 +01:00
fowczrek
6a9db1e626
Fixed #34865 -- Released memory earlier than garbage collection on database wrapping layers.
...
Thank you Florian Apolloner, Jake Howard and Patryk Zawadzki for
the clarifying comments and reviews.
2025-03-17 18:28:20 -03:00
wookkl
2ae3044d9d
Fixed #35945 -- Added async interface to Paginator.
2025-03-12 09:22:44 +01:00
Clifford Gama
0ebea6e5c0
Fixed #35676 -- Made BaseModelForm validate constraints that reference an InlineForeignKeyField.
...
Co-authored-by: Simon Charette <charette.s@gmail.com >
2025-03-12 09:16:15 +01:00
saJaeHyukc
c1257350ca
Fixed #36222 -- Fixed ExclusionConstraint validation crash on excluded fields in condition.
...
Signed-off-by: saJaeHyukc <wogur981208@gmail.com >
2025-03-10 20:11:01 +01:00
samruddhiDharankar
9120a19c4e
Fixed #36066 -- Documented that Q objects can be used directly in annotations.
2025-03-10 12:54:23 +01:00
Gaël Utard
0d1dd6bba0
Fixed #36191 -- Truncated the overwritten file content in FileSystemStorage.
2025-02-17 14:01:00 +01:00
brian
b13b8684a0
Fixed #36061 -- Added migration support for ManyToManyField.through_fields.
...
Added through_fields support to ManyToManyField.deconstruct.
Thanks to Simon Charette for pointers and the review.
2025-02-06 15:26:12 +01:00
Vinko Mlačić
c6ace896a2
Fixed #36155 -- Improved error handling when annotate arguments require an alias.
...
Regression in ed0cbc8d8b .
2025-01-30 11:17:17 +00:00
Peter DeVita
8eca4077f6
Fixed #36109 -- Fixed RecursionError when stacking FilteredRelation joins.
2025-01-27 10:32:19 +01:00
Mike Edmunds
29ba75e6e5
Fixed #36013 -- Removed use of IDNA-2003 in django.utils.html.
...
Removed obsolete and potentially problematic IDNA 2003 ("punycode")
encoding of international domain names in smart_urlquote() and Urlizer,
which are used (only) by AdminURLFieldWidget and the urlize/urlizetrunc
template filters. Changed to use percent-encoded UTF-8, which defers
IDNA details to the browser (like other URLs rendered by Django).
2025-01-23 10:38:15 +01:00
Chiemezuo
274f855f4a
Added Chiemezuo to AUTHORS.
...
Refs #36008 .
2024-12-17 14:38:57 +01:00
Ben Cardy
f30b527f17
Fixed #25582 -- Added support for query and fragment to django.urls.reverse().
2024-12-11 16:40:28 -03:00
David Winiecki
661dfdd598
Fixed #35849 -- Made ParallelTestSuite report correct error location.
2024-11-06 17:14:41 +01:00
Amir Karimi
ee5147cfd7
Fixed #29522 -- Refactored the Deserializer functions to classes.
...
Co-authored-by: Emad Mokhtar <emad.mokhtar@veneficus.nl >
2024-09-17 11:00:49 +02:00
khanxmetu
1f3f0cd8ca
Fixed #35754 -- Mapped full-width characters in latex to half-width.
2024-09-13 16:52:07 +02: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
Bendeguz Csirmaz
1eac690d25
Refs #373 -- Added tuple lookups.
2024-08-01 17:26:09 +02:00
Jeremy Thompson
30a60e8492
Fixed #35598 -- Added SearchInput widget.
2024-07-31 13:11:45 +02:00
Hisham Mahmood
182f262b15
Fixed #35606 , Refs #34045 -- Fixed rendering of ModelAdmin.action_checkbox for models with a __html__ method.
...
Thank you Claude Paroz for the report.
Regression in 85366fbca7 .
2024-07-18 08:09:37 +02:00
Andrew Miller
aa74c4083e
Fixed #23790 -- Warned about renaming AppConfig.label in docs/ref/applications.txt.
2024-07-01 21:52:04 -03: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
George Y. Kussumoto
2a32b23382
Fixed #35417 -- Updated BaseContext.new() with values to create a context that can be flattened.
2024-06-13 14:22:40 +02:00
nessita
42bc81b1b6
Corrected alphabetical order of latest author added to AUTHORS.
2024-04-12 12:15:28 -03:00
Aleksander Milinkevich
c223d14025
Corrected description of list_display being a list in tutorial 7.
2024-04-11 18:00:17 -03:00
Johannes Westphal
5f18021640
Fixed #35344 , Refs #34838 -- Corrected output_field of resolved columns for GeneratedFields in aliased tables.
...
Thanks Simon Charette for the review.
2024-04-01 18:54:38 +01:00
Kasun Herath
f5ed4306bb
Fixed #35265 -- Added AdminSite tests for changing titles.
2024-03-04 05:34:42 +01:00
Adam Zapletal
eb2d49b734
Fixed #23759 -- Preserved all file extensions in Storage.get_available_name().
2024-02-20 21:06:39 +01:00