Re: error while trying save a model form

2009-02-26 Thread uno...@gmail.com
Daniel, thanks much. That was the problem. Damn -- its so freakishly easy to miss such nasty little things when you're over worked :-) thanks again. -pranav. On Feb 26, 4:03 pm, Daniel Roseman wrote: > On Feb 26, 8:12 pm, "uno...@gmail.com" wrote: > > > > > I have the following model form:

Re: error while trying save a model form

2009-02-26 Thread Daniel Roseman
On Feb 26, 8:12 pm, "uno...@gmail.com" wrote: > I have the following model form: > > class EditProfileForm(ModelForm): > >     class Meta: >         model = UserProfile >         exclude = ('user',) > > The corresponding model is: > > class UserProfile(models.Model): > >     user = models.Foreign

Re: error while trying save a model form

2009-02-26 Thread Atishay
On Feb 26, 3:12 pm, "uno...@gmail.com" wrote: > I have the following model form: > > class EditProfileForm(ModelForm): > >     class Meta: >         model = UserProfile >         exclude = ('user',) > > The corresponding model is: > > class UserProfile(models.Model): > >     user = models.Forei