I want to display some html in django 1.0 templates and do this, I was doing something like this:
{% autoescape off %}{{ var.text }}{% endautoescape %}
and I'm just wondering how safe this is? Am I still protected from SQL injection and crossite scripting and other vulnerabilities?
=== Edit =======
This text will come from users, so what is the best way to display html in a django template safely?
source
share