Thank you for your inputs. I have updated the patch. Will keep in mind to
think a bit about the overall design before jumping headfirst and writing a
patch.
There is an existing ticket with patch to support HTML5 input types
(#16630). This is also addressed by the template-based-widgets patch in
#
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi,
On 02/11/2012 10:13 AM, j4nu5 wrote:
> I have written a patch for ticket #16304 (https://
> code.djangoproject.com/ticket/16304).
Thanks for the patch.
> The ticket adds support for the HTML5 input placeholder attribute
> (WHAT Working Group pla
As much as I like the feature, I think that tying a presentation
widget (html5 specific) attribute to the Model definition is not
right. Just like the help_text attribute which should belong inside
forms and not models, or the old Admin innerclass. I agree that it is
very handy, but it does not bel
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#