jeudi 26 mars 2015

Django turning off autoescape when it comes to template tags

so, I'm trying to write an admin form such that the admin can write html code as an input. So for this I use {% autoescape off %} to let the form bypass html code. Now, I want to have the admin have the freedom to use template tags in the entries. How can I do this?


Aucun commentaire:

Enregistrer un commentaire