Hi Adrian,

I've been using newforms to implement a short form. Generally, it's
been a smooth ride, and I appreciate the flexibility and simplicity of
rendering compared to the old way. Between the doco, the examples in
the test case and the code, using it was straightforward too.

I have just three nits for you:

1. It would be nice if EmailField and URLField had max_length attributes.

2. When I tried to specify an empty label, with label='', I get the
automatically generated label. For example, here I try to give the url
field an empty label:

>>> from django.newforms import *
>>> class F(Form): url = URLField(label='')
...
>>> F().as_p()
u'<p><label for="id_url">Url:</label> <input type="text" name="url"
id="id_url" /></p>'

3. maxlength vs max_length is going to annoy me until it is made
consistent. I know you're working on it. :)

Cheers,

Alan

-- 
Alan Green
[EMAIL PROTECTED] - http://bright-green.com

--~--~---------~--~----~------------~-------~--~----~
 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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to