Re: Accessing Model field from ModelForm?

2008-11-01 Thread killsto
Thanks, that's a big help. On Nov 1, 5:14 am, Daniel Roseman <[EMAIL PROTECTED]> wrote: > On Nov 1, 5:33 am, killsto <[EMAIL PROTECTED]> wrote: > > > > > I have a basic form that shows what a person entered when it is > > submitted.  However, it shows up as a form.CharField (textbox) instead > >

Re: Accessing Model field from ModelForm?

2008-11-01 Thread Daniel Roseman
On Nov 1, 5:33 am, killsto <[EMAIL PROTECTED]> wrote: > I have a basic form that shows what a person entered when it is > submitted.  However, it shows up as a form.CharField (textbox) instead > of model.CharField. Is there a way to access the model's saved data > from the Forms? Also does

Accessing Model field from ModelForm?

2008-11-01 Thread killsto
I have a basic form that shows what a person entered when it is submitted. However, it shows up as a form.CharField (textbox) instead of model.CharField. Is there a way to access the model's saved data from the Forms? Also does form_for_model (http://www.djangobook.com/en/ 1.0/chapter07/) no