> I have some HTML in a DB field. How can I get it to display as
> rendered HTML in a Django template.
>
> Is there a filter or tag that I should use before the {{variable}} tag
> in the Django template?
In Django 0.96 (which is built into appengine) you need to use the
escape filter:
{{ variable|escape }}
In Djange 1.0 all variables are automatically escaped:
http://docs.djangoproject.com/en/dev/topics/templates/#automatic-html-escaping
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---