sorry, wrong snippets

```
# assume years_range = range(2008, 1900)
formfield_overrides = {
    'body': { 'widget': RichTextEditorWidget() },
    'birthday': {'widget': SelectDateWidget(years=years_range) },
}
```

maybe this is for yet another option, or we can allow something like
this (ps: i dont really like this way):

```
# assume years_range = range(2008, 1900)
formfield_overrides = {
    models.TextField: { 'widget': RichTextEditorWidget() },
    'birthday': {'widget': SelectDateWidget(years=years_range) },
}
```

of course with the current patch this is not strictly required, i.e.
you can always subclass a default field on override that. I just would
like to know your thoughts about this.

Thanks,
Flavio.

--~--~---------~--~----~------------~-------~--~----~
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 
django-developers+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to