Re: Bound forms and form_from_instance

2008-07-04 Thread Malcolm Tredinnick
On Fri, 2008-07-04 at 12:20 +0200, Florencio Cano wrote: > I'm trying to understand Django forms and I have a doubt. > Imagine that you define a Form class called AddressClass. > You can instantiate it like this: > > address_form = AddressClass() > > address_form will be an unbound form object

Bound forms and form_from_instance

2008-07-04 Thread Florencio Cano
I'm trying to understand Django forms and I have a doubt. Imagine that you define a Form class called AddressClass. You can instantiate it like this: address_form = AddressClass() address_form will be an unbound form object and when you if you show it in the template all the fields will be blank