I have written a patch for ticket #16304 (https://
code.djangoproject.com/ticket/16304).

The ticket adds support for the HTML5 input placeholder attribute
(WHAT Working Group placeholder description -
http://www.whatwg.org/specs/web-apps/current-work/multipage/common-input-element-attributes.html#the-placeholder-attribute),
in Forms as well as ModelForms.

I was wondering if a larger undertaking can be taken to make Django
HTML5 aware. Options may include support for new input types like tel,
email etc. which currently are rendered simply as text and ModelForms/
Forms have to manually override widgets to achieve desired results.

Comments please.

P.S. The submitted patch lacks tests. I could not figure out how to
write tests for the UI. If that is acceptable, can core devs please
accept the patch?

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to django-developers@googlegroups.com.
To unsubscribe from this group, send email to 
django-developers+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en.

Reply via email to