Is it possible to allow users to create their own Django templates with a set of predefined variables and then display this template on the server? I would pass a very limited set of parameters render, all of which are strings. The templates will look something like this:
hey, my name is {{name}}.
So the question is, are there django template tags that can be abused to get information that users should not receive? The tag bothers me the most {% url %}.
PS
I noticed this question after filling out the header, however my question is slightly different. I probably won't use HTML / javascript at all, use Textile / Markdown, or find a way to limit HTML to a very simple set of tags.
source
share