Re: Multiple modelforms in single POST

2011-03-14 Thread Anoop Thomas Mathew
Thanks buddy. Sure!! I'll try next time. regards, atm ___ Life is short, Live it hard. On 14 March 2011 14:46, bruno desthuilliers wrote: > On 14 mar, 08:16, Anoop Thomas Mathew wrote: > > > > @bruno: If this(http://dpaste.de/ODOJ/) was not enough for you, ... > > No, it was not enough. "No

Re: Multiple modelforms in single POST

2011-03-14 Thread bruno desthuilliers
On 14 mar, 08:16, Anoop Thomas Mathew wrote: > > @bruno: If this(http://dpaste.de/ODOJ/) was not enough for you,  ... No, it was not enough. "No success" is just a variant of "doesn't work", which is about the most useless possible description of a problem. http://www.catb.org/~esr/faqs/smart-qu

Re: Multiple modelforms in single POST

2011-03-14 Thread Anoop Thomas Mathew
Hi all, I solved it out.. I got a good tutorial on it, from James Bennett: http://www.b-list.org/weblog/2008/nov/09/dynamic-forms/ @bruno: If this(http://dpaste.de/ODOJ/) was not enough for you, ... @Gladys: Thanks for your time. regards, atm ___ Life is short, Live it hard. On 13 March 20

Re: Multiple modelforms in single POST

2011-03-13 Thread gladys bixly
If you look at this code: class Profileform(forms.ModelForm): class Meta: model = User fields = ('first_name','last_name','email',) class Employeeform(forms.ModelForm): """self explanatory""" class Meta(Profileform): model = P

Re: Multiple modelforms in single POST

2011-03-11 Thread bruno desthuilliers
On 11 mar, 07:58, Anoop Thomas Mathew wrote: > Hi all, > > I have a Profile model, which has a ForiegnKey to User model. I want to edit > both of it at same form. > > this is what I tried,http://dpaste.de/ODOJ/ > Still, no success. Please help. You'll have to provide a bit more informations if

RE: Multiple modelforms in single POST

2011-03-10 Thread Anoop Thomas Mathew
Hi all, I have a Profile model, which has a ForiegnKey to User model. I want to edit both of it at same form. this is what I tried, http://dpaste.de/ODOJ/ Still, no success. Please help. regards, atm -- You received this message because you are subscribed to the Google Groups "Django users" g