Re: Creating and binding more than one model to a from

2010-06-29 Thread Daniel Roseman
On Jun 28, 5:47 pm, thusjanthan wrote: > Hi, > > I have a Topic class I would like to create a form based on. BUT, I > want many of these objects so Topics. How do I obtain such a feature. > > Suppose my form object is as follows: > > class TopicForms(ModelForm): >     class meta: >         model

Re: Creating and binding more than one model to a from

2010-06-29 Thread derek
On Jun 28, 6:47 pm, thusjanthan wrote: > Hi, > > I have a Topic class I would like to create a form based on. BUT, I > want many of these objects so Topics. How do I obtain such a feature. > > Suppose my form object is as follows: > > class TopicForms(ModelForm): >     class meta: >         model

Creating and binding more than one model to a from

2010-06-28 Thread thusjanthan
Hi, I have a Topic class I would like to create a form based on. BUT, I want many of these objects so Topics. How do I obtain such a feature. Suppose my form object is as follows: class TopicForms(ModelForm): class meta: model = Topic fields = ('topic_id','topic') I want to