Re: ModelForm question

2009-05-19 Thread George Song
On 5/18/2009 12:55 PM, Rusty Greer wrote: > > i have the following: > > a model: > class MyClass(models.Model): > otherClass = models.ForeignKey('otherClass') > someData = models.CharField(max_length=20) > > > class MyClassForm(forms.ModelForm): > > class Meta: > model = M

Re: ModelForm question

2008-11-27 Thread sergioh
On Nov 26, 4:25 pm, fiedzia <[EMAIL PROTECTED]> wrote: > Hi > > I am trying to achieve the following effect: > > A ModelForm containing list of choices and input to possibly add > another > element to the list is presented on page. > If user will not choose any item from list and will type somet