RE: how to populate data again after validation

2008-08-20 Thread Emily Rodgers
m where you like, but best to start with the basics to understand how django works first. Em > -Original Message- > From: django-users@googlegroups.com > [mailto:[EMAIL PROTECTED] On Behalf Of Will Rocisky > Sent: 20 August 2008 12:03 > To: Django users > Subject: Re: ho

Re: how to populate data again after validation

2008-08-20 Thread Will Rocisky
st.POST, instance=contact_instance) > > HTH > > Em > > > -Original Message- > > From: django-users@googlegroups.com > > [mailto:[EMAIL PROTECTED] On Behalf Of Will Rocisky > > Sent: 20 August 2008 11:24 > > To: Django users > > Subject: Re:

RE: how to populate data again after validation

2008-08-20 Thread Emily Rodgers
ps.com > [mailto:[EMAIL PROTECTED] On Behalf Of Will Rocisky > Sent: 20 August 2008 11:24 > To: Django users > Subject: Re: how to populate data again after validation > > > I am just using... > > model... > class Contact(models.Model): > Name = models.

Re: how to populate data again after validation

2008-08-20 Thread Will Rocisky
- > > From: django-users@googlegroups.com > > [mailto:[EMAIL PROTECTED] On Behalf Of Will Rocisky > > Sent: 20 August 2008 10:45 > > To: Django users > > Subject: how to populate data again after validation > > > I am not using builtin {{form}} to print form in

RE: how to populate data again after validation

2008-08-20 Thread Emily Rodgers
f Of Will Rocisky > Sent: 20 August 2008 10:45 > To: Django users > Subject: how to populate data again after validation > > > I am not using builtin {{form}} to print form in template. I > am using my own things. > Now, after validation, when it shows error and comes

how to populate data again after validation

2008-08-20 Thread Will Rocisky
I am not using builtin {{form}} to print form in template. I am using my own things. Now, after validation, when it shows error and comes back to form, all the data has disappeared. How can I keep data in fields even after validation. I am using render_to_response --~--~-~--~~---