Jeff, you are my hero. Thanks. Smacc.
> Which version of django are you using? In trunk, using > newforms/modelforms for generating the form from a model, it is done > like this: > > If you want to override a field’s default widget, then specify the > widget parameter when declaring the form field: > > >>> class ArticleForm(ModelForm): > > ... pub_date = DateField(widget=MyDateWidget()) > ... > ... class Meta: > ... model = Article > > Taken from:http://www.djangoproject.com/documentation/modelforms/ > > Good luck! > > Jeff Anderson > > signature.asc > 1KLetöltés --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---

