On 25/08/10 13:36, mdolphin wrote:
OK, that's probably a Newbee Question:

My Code generates an HTML-Table, that I want to show up inside a {%
block %} in my Template. All I get is an encoded output of my
generated HTML-Sourcecode inside the Template. so i.e<tr>  becomes
&lt;tr&gt; and so on. How could I achieve it to get my generated HTML-
Code inserted "as is" into my Template?

Instead of {{output}} use {{output|safe}}

http://docs.djangoproject.com/en/1.2/ref/templates/builtins/#safe

Tim.

--
You received this message because you are subscribed to the Google Groups "Django 
users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to