Re: How Do I Extend Model form

2009-04-02 Thread mahesh
lement. > > So you can easily have several ModelForms (or mix them with regular Forms) > inside a single tag. > > I hope that makes sense. > > On Thu, Apr 2, 2009 at 10:51 AM, mahesh wrote: > > > How Do I Extend Model form. I need to generate a form with some fields &

Re: How Do I Extend Model form

2009-04-02 Thread Oli Warner
g. I hope that makes sense. On Thu, Apr 2, 2009 at 10:51 AM, mahesh wrote: > > How Do I Extend Model form. I need to generate a form with some fields > from User + UserProfile; However I see nothing .. > > class UserForm(ModelForm) : >class Meta: >

How Do I Extend Model form

2009-04-02 Thread mahesh
How Do I Extend Model form. I need to generate a form with some fields from User + UserProfile; However I see nothing .. class UserForm(ModelForm) : class Meta: model = User class BigForm(UserForm): class Meta(UserForm.Meta): model