Re: Modifying only one widget in newform

2008-05-12 Thread Smacc
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 fie

Re: Modifying only one widget in newform

2008-05-12 Thread Jeff Anderson
Smacc Kleina wrote: Hi folks, we have some input forms in our project where 'meta' generated forms are enough. But we have to change widget to tinymce enabled 'richedit' fields in CharFields. Is it possible to change only one widget and keep auto-generated form? Which version of django are you

Modifying only one widget in newform

2008-05-12 Thread Smacc Kleina
Hi folks, we have some input forms in our project where 'meta' generated forms are enough. But we have to change widget to tinymce enabled 'richedit' fields in CharFields. Is it possible to change only one widget and keep auto-generated form? Any hints are welcome, Smacc. --~--~-~--~~-