If possible, the easiest way would be to create a form based on a model (subclass ModelForm). When you save the form the values will be stores in the appropriate database fields.
To answer your final question, the 4 part tutorial I mentioned covers that. - Paulo On Wed, Aug 4, 2010 at 10:09 AM, Jagdeep Singh Malhi < [email protected]> wrote: > > > > > > > > Why do you think you would get any SQL with that? You're creating a > > form, not a model. > ok > I also want to store the value in database using form. > > Now what i can do? > any tutorial of that? > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<django-users%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Django users" 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-users?hl=en.

