Re: rendering fields in newforms

2007-06-16 Thread Malcolm Tredinnick
On Fri, 2007-06-15 at 18:24 -0700, [EMAIL PROTECTED] wrote: > Say we have class MyForm with IntegerField called 'year'. When we > instantiate MyForm, say a = MyForm() we can get it rendered in html > before passing to template - a.as_table(); This will contain all > errors, previously entered data

rendering fields in newforms

2007-06-15 Thread [EMAIL PROTECTED]
Say we have class MyForm with IntegerField called 'year'. When we instantiate MyForm, say a = MyForm() we can get it rendered in html before passing to template - a.as_table(); This will contain all errors, previously entered data - if we instantiate MyForm from request.POST. The question is, how