Re: Stop executing template tag

2012-10-23 Thread Nikhil Verma
Thanks to all . But Tome and Russel answers were absolutely correct.Worked like a charm. {% templatetag openvariable %} hello {% templatetag closevariable On Fri, Oct 19, 2012 at 4:16 PM, Russell Keith-Magee < russ...@keith-magee.com> wrote: > On Fri, Oct 19, 2012 at 6:21 PM, Nikhil Verma >

Re: Stop executing template tag

2012-10-19 Thread Russell Keith-Magee
On Fri, Oct 19, 2012 at 6:21 PM, Nikhil Verma wrote: > Hello people > > I need some suggestion in a problem. > > How can i stop django template engine not executing {{name}}. Meaning I do > not want that {{}}, the value should be printed it should somehow pass into > the browser as it is. > If i

Re: Stop executing template tag

2012-10-19 Thread Tom Evans
On Fri, Oct 19, 2012 at 11:40 AM, Tomas Ehrlich wrote: > Hi Nikhil, > you can't do that with django template system without additional "raw" tag. > > Here's a relevant article: > http://www.holovaty.com/writing/django-two-phased-rendering/ > > Cheers, > Tom Oh really? {% templatetag openvariabl

Re: Stop executing template tag

2012-10-19 Thread Tomas Ehrlich
Hi Nikhil, you can't do that with django template system without additional "raw" tag. Here's a relevant article: http://www.holovaty.com/writing/django-two-phased-rendering/ Cheers, Tom Dne Fri, 19 Oct 2012 15:51:39 +0530 Nikhil Verma napsal(a): > Hello people > > I need some suggestion in

Re: Stop executing template tag

2012-10-19 Thread Martin J. Laubach
Just put something between the {{ so the templating engine will not be tempted to interpret it. {{ should do the trick, for example. -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.goog