Adrian Holovaty wrote:
> So, then, I'd encourage everybody to play around with django.newforms
> and post a message if you have any issues or thoughts. There is no
> formal documentation, but the unit tests are *quite extensive* and
> serve as pretty good documentation. The unit tests live in the file
> tests/regressiontests/forms/tests.py.

Maybe I'm missing something, but is there any way to associate a Widget
with a Form, or do those need to be instantiated separately?

In all of the unit tests, the Forms only consist of a collection of
Fields, but in almost every use case that I can think of, an HTML form
will consist of combinations of both Fields and Widgets.  Sure, Widgets
don't have validation, but one thing that I think makes these new Form
objects great is that you can pass them around easily between the
template and the view, etc.


--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to [email protected]
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