Re: [Django] #35273: AdminFileWidget renders two elements with the same ID

2024-03-14 Thread Django
#35273: AdminFileWidget renders two elements with the same ID
-+-
 Reporter:  Johannes Maron   |Owner:  Johannes
 |  Maron
 Type:  Bug  |   Status:  closed
Component:  contrib.admin|  Version:  5.0
 Severity:  Release blocker  |   Resolution:  fixed
 Keywords:   | Triage Stage:  Ready for
 |  checkin
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  1
-+-
Comment (by Mariusz Felisiak ):

 In [changeset:"8fd953f28abc95aee2e2f59c94d8c58af0d792d7" 8fd953f2]:
 {{{#!CommitTicketReference repository=""
 revision="8fd953f28abc95aee2e2f59c94d8c58af0d792d7"
 [5.0.x] Fixed #35273 -- Fixed rendering AdminFileWidget's attributes.

 Regression in 8a6c0203c4e92908c2b26ba54feba4ce7e76d081.

 Backport of e69019555d683fd6a831f87cb09e3deb86e4e7c7 from main
 }}}
-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/0107018e3e78d34c-864540dc-883c-4df0-85fc-6c67ea314830-00%40eu-central-1.amazonses.com.


Re: [Django] #35273: AdminFileWidget renders two elements with the same ID

2024-03-14 Thread Django
#35273: AdminFileWidget renders two elements with the same ID
-+-
 Reporter:  Johannes Maron   |Owner:  Johannes
 |  Maron
 Type:  Bug  |   Status:  closed
Component:  contrib.admin|  Version:  5.0
 Severity:  Release blocker  |   Resolution:  fixed
 Keywords:   | Triage Stage:  Ready for
 |  checkin
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  1
-+-
Changes (by Mariusz Felisiak ):

 * resolution:   => fixed
 * status:  assigned => closed

Comment:

 In [changeset:"e69019555d683fd6a831f87cb09e3deb86e4e7c7" e6901955]:
 {{{#!CommitTicketReference repository=""
 revision="e69019555d683fd6a831f87cb09e3deb86e4e7c7"
 Fixed #35273 -- Fixed rendering AdminFileWidget's attributes.

 Regression in 8a6c0203c4e92908c2b26ba54feba4ce7e76d081.
 }}}
-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/0107018e3e785a2b-89a89a91-0d6d-4bfc-8b95-29b35214230a-00%40eu-central-1.amazonses.com.


Re: [Django] #35273: AdminFileWidget renders two elements with the same ID

2024-03-14 Thread Django
#35273: AdminFileWidget renders two elements with the same ID
-+-
 Reporter:  Johannes Maron   |Owner:  Johannes
 |  Maron
 Type:  Bug  |   Status:  assigned
Component:  contrib.admin|  Version:  5.0
 Severity:  Release blocker  |   Resolution:
 Keywords:   | Triage Stage:  Ready for
 |  checkin
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  1
-+-
Changes (by Mariusz Felisiak):

 * stage:  Accepted => Ready for checkin

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/0107018e3d033873-dd4f5445-1db9-4fe8-83dd-f076649bbfb4-00%40eu-central-1.amazonses.com.


Re: [Django] #35273: AdminFileWidget renders two elements with the same ID

2024-03-09 Thread Django
#35273: AdminFileWidget renders two elements with the same ID
-+-
 Reporter:  Johannes Maron   |Owner:  Johannes
 |  Maron
 Type:  Bug  |   Status:  assigned
Component:  contrib.admin|  Version:  5.0
 Severity:  Release blocker  |   Resolution:
 Keywords:   | Triage Stage:  Accepted
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  1
-+-
Changes (by Johannes Maron):

 * needs_better_patch:  1 => 0

Comment:

 Thanks, Tim, for your diligence. I did read up on the other ticket and
 applied its behavior to all clearable file templates and added tests and
 another line to the release docs.
 Please tell me, if there is anything else that needs to be addressed.
-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/0107018e232b31ef-4ba9d46c-4b5e-49f3-a6f2-02e1bf4a1782-00%40eu-central-1.amazonses.com.


Re: [Django] #35273: AdminFileWidget renders two elements with the same ID

2024-03-08 Thread Django
#35273: AdminFileWidget renders two elements with the same ID
-+-
 Reporter:  Johannes Maron   |Owner:  Johannes
 |  Maron
 Type:  Bug  |   Status:  assigned
Component:  contrib.admin|  Version:  5.0
 Severity:  Release blocker  |   Resolution:
 Keywords:   | Triage Stage:  Accepted
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  1
Easy pickings:  0|UI/UX:  1
-+-
Changes (by Tim Graham):

 * easy:  1 => 0
 * needs_better_patch:  0 => 1

Comment:

 The patch merely reverts part of 8a6c0203c4e92908c2b26ba54feba4ce7e76d081.
 and causes
 
`admin_widgets.tests.ImageFieldWidgetsSeleniumTests.test_clearablefileinput_widget_preserve_clear_checkbox`
 to fail.

 (Incidentally, there is no need to set "easy pickings" to put this ticket
 on the radar for new contributors.)
-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/0107018e2117abb0-b30429a6-3499-44ea-9b6b-37631f99674f-00%40eu-central-1.amazonses.com.


Re: [Django] #35273: AdminFileWidget renders two elements with the same ID

2024-03-08 Thread Django
#35273: AdminFileWidget renders two elements with the same ID
-+-
 Reporter:  Johannes Maron   |Owner:  Johannes
 |  Maron
 Type:  Bug  |   Status:  assigned
Component:  contrib.admin|  Version:  5.0
 Severity:  Release blocker  |   Resolution:
 Keywords:   | Triage Stage:  Accepted
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  1|UI/UX:  1
-+-
Comment (by Johannes Maron):

 OK, the patch is ready for review. BTW, the problem was only in the
 Django, not the Jinja2 template. I checked all the other widgets, none-
 other seemed to have the same issue.
-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/0107018e1f9ed369-9cc0f135-431b-487f-8f38-53b06be12a9a-00%40eu-central-1.amazonses.com.


Re: [Django] #35273: AdminFileWidget renders two elements with the same ID

2024-03-08 Thread Django
#35273: AdminFileWidget renders two elements with the same ID
-+-
 Reporter:  Johannes Maron   |Owner:  Johannes
 |  Maron
 Type:  Bug  |   Status:  assigned
Component:  contrib.admin|  Version:  5.0
 Severity:  Release blocker  |   Resolution:
 Keywords:   | Triage Stage:  Accepted
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  1|UI/UX:  1
-+-
Changes (by Johannes Maron):

 * easy:  0 => 1
 * has_patch:  0 => 1
 * ui_ux:  0 => 1

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/0107018e1f9a0f81-71af28bb-293d-4bc8-bc9f-ad820b99de2c-00%40eu-central-1.amazonses.com.


Re: [Django] #35273: AdminFileWidget renders two elements with the same ID

2024-03-07 Thread Django
#35273: AdminFileWidget renders two elements with the same ID
-+-
 Reporter:  Johannes Maron   |Owner:  Johannes
 |  Maron
 Type:  Bug  |   Status:  assigned
Component:  contrib.admin|  Version:  5.0
 Severity:  Release blocker  |   Resolution:
 Keywords:   | Triage Stage:  Accepted
Has patch:  0|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by Johannes Maron):

 * owner:  nobody => Johannes Maron
 * status:  new => assigned

Comment:

 I write a full patch tomorrow and check if we have other widgets that
 include the same problem.
-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/0107018e1908495d-987d8ab3-0091-42b4-a2c4-c942cdf74259-00%40eu-central-1.amazonses.com.


Re: [Django] #35273: AdminFileWidget renders two elements with the same ID

2024-03-06 Thread Django
#35273: AdminFileWidget renders two elements with the same ID
-+
 Reporter:  Johannes Maron   |Owner:  nobody
 Type:  Bug  |   Status:  new
Component:  contrib.admin|  Version:  5.0
 Severity:  Release blocker  |   Resolution:
 Keywords:   | Triage Stage:  Accepted
Has patch:  0|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+
Changes (by Tim Graham):

 * resolution:  needsinfo =>
 * severity:  Normal => Release blocker
 * stage:  Unreviewed => Accepted
 * status:  closed => new

Comment:

 Bisected to 8a6c0203c4e92908c2b26ba54feba4ce7e76d081.
-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/0107018e15fd6604-d2bd660d-0332-4bef-87b6-76a41807876b-00%40eu-central-1.amazonses.com.


Re: [Django] #35273: AdminFileWidget renders two elements with the same ID

2024-03-06 Thread Django
#35273: AdminFileWidget renders two elements with the same ID
+--
 Reporter:  Johannes Maron  |Owner:  nobody
 Type:  Bug |   Status:  closed
Component:  contrib.admin   |  Version:  5.0
 Severity:  Normal  |   Resolution:  needsinfo
 Keywords:  | Triage Stage:  Unreviewed
Has patch:  0   |  Needs documentation:  0
  Needs tests:  0   |  Patch needs improvement:  0
Easy pickings:  0   |UI/UX:  0
+--
Comment (by Johannes Maron):

 Absolutely, here is a draft with a commit that exploits the error:
 https://github.com/django/django/pull/17946

 And that's the error:


 {{{
 - 
 ?   -

 + 
 }}}



 If and yes, a bound field will pass the ID as an attribute here:
 
https://github.com/django/django/blob/c4df2a77761a1ae392eb5c4803b5712803d5239f/django/forms/boundfield.py#L96-L99
-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/0107018e1577e16e-53ea79f6-f646-4839-919a-ef0e066ff31f-00%40eu-central-1.amazonses.com.


Re: [Django] #35273: AdminFileWidget renders two elements with the same ID

2024-03-06 Thread Django
#35273: AdminFileWidget renders two elements with the same ID
+--
 Reporter:  Johannes Maron  |Owner:  nobody
 Type:  Bug |   Status:  closed
Component:  contrib.admin   |  Version:  5.0
 Severity:  Normal  |   Resolution:  needsinfo
 Keywords:  | Triage Stage:  Unreviewed
Has patch:  0   |  Needs documentation:  0
  Needs tests:  0   |  Patch needs improvement:  0
Easy pickings:  0   |UI/UX:  0
+--
Changes (by Mariusz Felisiak):

 * stage:  Accepted => Unreviewed

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/0107018e14923ded-a0b42a2f-2c2a-4a1c-8205-5c01b3ae60fe-00%40eu-central-1.amazonses.com.


Re: [Django] #35273: AdminFileWidget renders two elements with the same ID

2024-03-06 Thread Django
#35273: AdminFileWidget renders two elements with the same ID
+-
 Reporter:  Johannes Maron  |Owner:  nobody
 Type:  Bug |   Status:  closed
Component:  contrib.admin   |  Version:  5.0
 Severity:  Normal  |   Resolution:  needsinfo
 Keywords:  | Triage Stage:  Accepted
Has patch:  0   |  Needs documentation:  0
  Needs tests:  0   |  Patch needs improvement:  0
Easy pickings:  0   |UI/UX:  0
+-
Changes (by Natalia Bidart):

 * resolution:   => needsinfo
 * status:  new => closed

Comment:

 Thank you Johanness and Jörg!

 Before accepting, we'd still need a sample project or test case showcasing
 the issue, as I can't reproduce the duplicated ID symptom (I'm using
 latest `main` though). I created a project of my own and defined a model
 with a FileField, then configured its admin so the `AdminFileWidget` is
 used. This is the resulting HTML which looks correct to me (at least it
 does not have duplicated `id`s):

 {{{
 Currently: images/test_X66RiS7.py
 
 
 Clear
 Change:
 
 }}}
-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/0107018e14139d31-53d0e32a-92f9-44fb-bee5-7b314ea64e42-00%40eu-central-1.amazonses.com.


Re: [Django] #35273: AdminFileWidget renders two elements with the same ID

2024-03-06 Thread Django
#35273: AdminFileWidget renders two elements with the same ID
+
 Reporter:  Johannes Maron  |Owner:  nobody
 Type:  Bug |   Status:  new
Component:  contrib.admin   |  Version:  5.0
 Severity:  Normal  |   Resolution:
 Keywords:  | Triage Stage:  Accepted
Has patch:  0   |  Needs documentation:  0
  Needs tests:  0   |  Patch needs improvement:  0
Easy pickings:  0   |UI/UX:  0
+
Changes (by herrbenesch):

 * stage:  Unreviewed => Accepted

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/0107018e13b77d6f-7ba83039-ecd0-4651-bd42-093fae25fecf-00%40eu-central-1.amazonses.com.


Re: [Django] #35273: AdminFileWidget renders two elements with the same ID

2024-03-06 Thread Django
#35273: AdminFileWidget renders two elements with the same ID
+--
 Reporter:  Johannes Maron  |Owner:  nobody
 Type:  Bug |   Status:  new
Component:  contrib.admin   |  Version:  5.0
 Severity:  Normal  |   Resolution:
 Keywords:  | Triage Stage:  Unreviewed
Has patch:  0   |  Needs documentation:  0
  Needs tests:  0   |  Patch needs improvement:  0
Easy pickings:  0   |UI/UX:  0
+--
Comment (by herrbenesch):

 I can second the report and will put the triage to accepted.
-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/0107018e13b74951-24e5e6d9-20a7-40ed-af35-2fe739f9c17a-00%40eu-central-1.amazonses.com.


Re: [Django] #35273: AdminFileWidget renders two elements with the same ID

2024-03-06 Thread Django
#35273: AdminFileWidget renders two elements with the same ID
+--
 Reporter:  Johannes Maron  |Owner:  nobody
 Type:  Bug |   Status:  new
Component:  contrib.admin   |  Version:  5.0
 Severity:  Normal  |   Resolution:
 Keywords:  | Triage Stage:  Unreviewed
Has patch:  0   |  Needs documentation:  0
  Needs tests:  0   |  Patch needs improvement:  0
Easy pickings:  0   |UI/UX:  0
+--
Changes (by Mariusz Felisiak):

 * cc: Marcelo Galigniana, David Smith (added)

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/0107018e13b02498-e2cb5849-b4c2-4401-b7f8-10ec01de35a3-00%40eu-central-1.amazonses.com.


Re: [Django] #35273: AdminFileWidget renders two elements with the same ID

2024-03-06 Thread Django
#35273: AdminFileWidget renders two elements with the same ID
+--
 Reporter:  Johannes Maron  |Owner:  nobody
 Type:  Bug |   Status:  new
Component:  contrib.admin   |  Version:  5.0
 Severity:  Normal  |   Resolution:
 Keywords:  | Triage Stage:  Unreviewed
Has patch:  0   |  Needs documentation:  0
  Needs tests:  0   |  Patch needs improvement:  0
Easy pickings:  0   |UI/UX:  0
+--
Changes (by Johannes Maron):

 * resolution:  needsinfo =>
 * status:  closed => new

Comment:

 Hi Natalia,

 Thanks, I appreciate you taking the time looking into this and welcoming
 me. Hehe, but I am not really new ;) I happened to contribute, among other
 things, the template-based form rendering and autocomplete fields. Thus, I
 would consider myself somewhat familiar with this part of Django.

 The test you are pointing to is insufficient, since it doesn't include all
 arguments what would be passed to a widget by a form.
 You can see that the output HTML doesn't include an ID for the
 `input[type=file]`. Which it would obviously have in an actual form.

 Funnily enough, the test actually outputs invalid HTML too. A `label.for`
 attribute must point to an existing ID, which it doesn't.

 I am happy to provide a test that will fail. The regression was introduced
 in Django 5 and only applies to the admin file input template.

 Cheers,
 Joe
-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/0107018e13ad17aa-1c1f73b0-e0df-4bf4-b0ed-eec8ef40ea25-00%40eu-central-1.amazonses.com.


Re: [Django] #35273: AdminFileWidget renders two elements with the same ID

2024-03-05 Thread Django
#35273: AdminFileWidget renders two elements with the same ID
+--
 Reporter:  Johannes Maron  |Owner:  nobody
 Type:  Bug |   Status:  closed
Component:  contrib.admin   |  Version:  5.0
 Severity:  Normal  |   Resolution:  needsinfo
 Keywords:  | Triage Stage:  Unreviewed
Has patch:  0   |  Needs documentation:  0
  Needs tests:  0   |  Patch needs improvement:  0
Easy pickings:  0   |UI/UX:  0
+--
Changes (by Natalia Bidart):

 * resolution:   => needsinfo
 * status:  new => closed

Comment:

 Hello Johanes, thank you for your interest in making Django better.

 Could you please include a small example (or test case!) showcasing the
 described issue? Looking at the code and
 
[https://github.com/django/django/blob/eff21d8e7a1cb297aedf1c702668b590a1b618f3/tests/admin_widgets/tests.py#L574
 relevant test] I do not see the duplicated `id` attribute, so I'm assuming
 there is some specifics on the code you are using that is triggering this
 behavior.

 Thank you! Feel free to re-open when you can provide more details.
-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/0107018e0fdfa4b1-bec39e42-cd84-487f-8c66-015405295b10-00%40eu-central-1.amazonses.com.


[Django] #35273: AdminFileWidget renders two elements with the same ID

2024-03-05 Thread Django
#35273: AdminFileWidget renders two elements with the same ID
--+
   Reporter:  Johannes Maron  |  Owner:  nobody
   Type:  Bug | Status:  new
  Component:  contrib.admin   |Version:  5.0
   Severity:  Normal  |   Keywords:
   Triage Stage:  Unreviewed  |  Has patch:  0
Needs documentation:  0   |Needs tests:  0
Patch needs improvement:  0   |  Easy pickings:  0
  UI/UX:  0   |
--+
 The `AdminFileWidget` renders both the checkbox and file input with the
 same attributes, including the ID.
 The template actually renders the ID attribute twice.

 Both, two identical attributes on an element or two elements with the same
 ID are in violation with version of HTML.

 See
 
https://github.com/django/django/blob/eff21d8e7a1cb297aedf1c702668b590a1b618f3/django/contrib/admin/templates/admin/widgets/clearable_file_input.html#L3

 This first appeared in Django 5.0.

 My suggestion would be to avoid rendering `attrs` into the checkbox.
-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/0107018e0f69e365-ca525749-5d5d-44ac-8cf0-c196c4ef50df-00%40eu-central-1.amazonses.com.