Re: How to show the template reserved keyword on html.

2012-02-20 Thread Morris
It works, thanks for your great help. On Feb 20, 4:19 pm, kahara wrote: > Hi, > > the doc says "argument tells which template bit to output", so > shouldn't this be: > > {% templatetag openvariable %} sample {% templatetag closevariable %} > >     /j > > On 20 helmi, 09:35, Morris wrote: > > > >

Re: How to show the template reserved keyword on html.

2012-02-20 Thread kahara
Hi, the doc says "argument tells which template bit to output", so shouldn't this be: {% templatetag openvariable %} sample {% templatetag closevariable %} /j On 20 helmi, 09:35, Morris wrote: > Hi Karen, > > Thanks a lot, I tried the method. > > {% openvariable %} sample {% closevariabl

Re: How to show the template reserved keyword on html.

2012-02-19 Thread Morris
Hi Karen, Thanks a lot, I tried the method. {% openvariable %} sample {% closevariable %} But , I got error message as below: Invalid block tag: 'openvariable' Request Method: GET Request URL:http://10.7.40.190/document/doc/ Django Version: 1.3.1 Exception Type: TemplateSyntaxError Exceptio

Re: How to show the template reserved keyword on html.

2012-02-19 Thread Karen Tracey
On Mon, Feb 20, 2012 at 2:00 AM, Morris wrote: > Hi all, > > I would like to write some django note via template. I tried to > show ""{{ sample }}"" on my website, but it's empty. I think django > think it's a variable name. > > So, how to show {{ sample }} ? On the other hand, how to show >