Jens Diemer schrieb: > I would like to edit templates online. So i used newforms and > .form_for_instance() to build a html form. > The Problem: If there are django template tags in the content, the tag > rendered > by the template engine. But i don't want that. I want to edit the tag in a > html > textarea.
I found a new solution to implement this: http://pylucid.net/trac/changeset/1112#file3 I wrapped the render() method of the Textarea widget via a formfield_callback and escape the content there. But i think this is a little bit ugly. It there a better way? -- Mfg. Jens Diemer ---- A django powered CMS: http://www.pylucid.org --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---