Re: ModelForms widget attrs

2007-12-15 Thread stuntgoat
at <[EMAIL PROTECTED]> wrote: > Can I change a ModelForms widget attrs? > > My model form: > > class Disco(ModelForm): > > class Meta: > > model = Dance > > I want to change the form widget of pickup_lines which is > > pickup_lines = models.

ModelForms widget attrs

2007-12-15 Thread stuntgoat
Can I change a ModelForms widget attrs? My model form: class Disco(ModelForm): class Meta: model = Dance I want to change the form widget of pickup_lines which is pickup_lines = models.ManyToManyField(WittyThings) in models.py I would like to edit this model form widget like