#20684: Support form element attributes with no value ------------------------------+------------------------------------ Reporter: sneethling@… | Owner: nobody Type: New feature | Status: new Component: Forms | Version: master Severity: Normal | Resolution: Keywords: | Triage Stage: Accepted Has patch: 1 | Needs documentation: 1 Needs tests: 0 | Patch needs improvement: 1 Easy pickings: 1 | UI/UX: 0 ------------------------------+------------------------------------
Comment (by shai): Replying to [comment:10 loic84]: > > Also relying on the implicit conversion of `True` to `"True"` is not a pattern we should encourage, Why not? Especially in `data-` attributes? > we could list the change as backward incompatible in the release notes. > Yes, but exactly because of the `"required": is_required()` pattern you brought up, uses may be hard to detect. -- Ticket URL: <https://code.djangoproject.com/ticket/20684#comment:11> Django <https://code.djangoproject.com/> 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 post to this group, send email to django-updates@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/080.d8717f8e3a6583137245b1d6c08af767%40djangoproject.com. For more options, visit https://groups.google.com/groups/opt_out.