Oh sorry, i thought i wrote, but i guess it didnt convey the message. have written a registration form. so it takes data from this form then first creates a user then i have a model called people in my app called mainapp. so i just need to add data to the database for this model. but i am not able to.
in this part if i give it like this --- dt = people() tform=popform(instance=dt) form = tform(perDict) if form.is_valid(): ------ it says object not callable -- tform(perDict) where perDict is dictionary and if i give dt = people() form = popform(perDict) if form.is_valid(): ------then it always comesout invalid On Feb 20, 4:34 pm, Daniel Roseman <dan...@roseman.org.uk> wrote: > On Sunday, February 20, 2011 11:26:18 AM UTC, The_Legend wrote: > > > i am not able to use model forms to input data for models in database. > > I'd get some treatment for that, if I were you. > > Seriously, what problem are you having? Are we supposed to guess? > -- > DR. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.