Posted on Sep 10, 2008 by
Helpful Rhino
I looked at the code quickly and the thing I'm going to ask seems not implemented yet. Sorry if I've overlooked it!
It's about how {% field %} renders boolean tag attributes ("selected", "checked"). It should do:
- in XHTML: selected="selected"
- in HTML: selected
Comment #1
Posted on May 18, 2009 by Swift ElephantThis is because of the way flatatt() works in django.forms.util. I too want to find a way to set an HTML boolean attribute properly with Django.
Status: New
Labels:
Type-Defect
Priority-Medium