I'm a generating a string in the backend(Django python) as following:-

```
str = "<div class='column span4 ui-sortable' id='column2'>...</div>"

return render_to_response('dashboard/widget_dashboard.html',{'str':str}, context_instance = RequestContext(request))`

```

Now, When I make a call to `str` in the template by `{{str}}`, i get plain text, not the HTML created elements.

How do I convert str into HTML elements?

PS: Since the string is generated upon the first page load, so I cannot make an AJAX call and then using `$(this).html(str)` inside the success function of the AJAX.

How can I approach this probblem?