On Sun, Jul 6, 2008 at 6:27 AM, Ivan Sagalaev <[EMAIL PROTECTED]> wrote: > > ## Proposal > > To fix this I was thinking along the lines of: > > class ArticleForm(ModelForm): > class Meta: > model = Article > fields = ['author', 'text'] > widgets = { > 'text': Textarea(...), > } > > I know it can be done now with formfieldcallback but it doesn't look > nearly as readable because you have to write an imperative logic > comparing field names.
+1. I think this would wrap up one of the last reasons to use formfield_callback, but I think it should be on the post-1.0 list. Joseph --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-developers?hl=en -~----------~----~----~----~------~----~------~--~---