Re: Non-conventional use of django templates.

2010-04-17 Thread Tomasz Zieliński
On 16 Kwi, 19:22, Paweł Roman wrote: > > Did anyone use a django template language in that fashion in a web > application that, itself is written in django? Does it make sense? Is > it safe? > I did, but it's been used by trusted set of users, so there were not that many safety measures built i

Non-conventional use of django templates.

2010-04-16 Thread Paweł Roman
I'm writing an application which is kind of event handling app, and the important functionality is sending emails. User can create his own email template, and when an event occurs the email is built using this template and sent. An event is nothing but a python dictionary with some values. As you m