Am Mittwoch, 10. Oktober 2007 15:09 schrieb Malcolm Tredinnick: > On Wed, 2007-10-10 at 14:51 +0200, Thomas Guettler wrote: > > Hi, > > > > How can I get a TextareaWidget with form_for_model()? > > > > I have a solution, but it is too much code. You need to create > > an own DB-Field. > What you want to do here is, given the particular field of the model, > replace its default form field with you own version that uses the > Textarea widget. This means using the formfield_callback parameter to > form_for_model().
Sorry, I forgot to say that I search for a solution without using formfield_callback. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@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-users?hl=en -~----------~----~----~----~------~----~------~--~---