Re: django template script variable usage and declaration

2008-12-14 Thread bruno desthuilliers
On 14 déc, 18:06, "Haroon idrees" wrote: > after follow the documentation i face the following error > File "C:\Program > Files\Google\google_appengine\lib\django\django\template\__init__.py", > line 273, in parse > compiled_result = compile_func(self, token) > File "C:\Program > Files\Goo

Re: django template script variable usage and declaration

2008-12-14 Thread Haroon idrees
after follow the documentation i face the following error File "C:\Program Files\Google\google_appengine\lib\django\django\template\__init__.py", line 273, in parse compiled_result = compile_func(self, token) File "C:\Program Files\Google\google_appengine\lib\django\django\template\defaultt

Re: django template script variable usage and declaration

2008-12-14 Thread bruno desthuilliers
On 14 déc, 10:53, "Haroon idrees" wrote: > I try cycle tage but it also give some error can please tell me what > is write Syntax of cycle tag It's in the documentation. Just follow the link I gave in my previous post. --~--~-~--~~~---~--~~ You received this me

Re: django template script variable usage and declaration

2008-12-14 Thread Haroon idrees
I try cycle tage but it also give some error can please tell me what is write Syntax of cycle tag On Fri, Dec 12, 2008 at 4:36 AM, bruno desthuilliers wrote: > > On 12 déc, 11:57, Daniel Roseman > wrote: >> On Dec 12, 7:04 am, "Haroon idrees" wrote: >> >> >> >> > Hello >> > I am new to p

Re: django template script variable usage and declaration

2008-12-12 Thread bruno desthuilliers
On 12 déc, 11:57, Daniel Roseman wrote: > On Dec 12, 7:04 am, "Haroon idrees" wrote: > > > > > Hello > > I am new to python world . any one can help to guide how we > > declare variables in python template script and use in if else block > > and vary it > > > for example > > //need to decla

Re: django template script variable usage and declaration

2008-12-12 Thread Daniel Roseman
On Dec 12, 7:04 am, "Haroon idrees" wrote: > Hello >      I am new to python world . any one can help to guide how we > declare variables in python template script and use in if else block > and vary it > > for example > //need to declare variable here > //for example x=0 > {% for message in mess

django template script variable usage and declaration

2008-12-12 Thread Haroon idrees
Hello I am new to python world . any one can help to guide how we declare variables in python template script and use in if else block and vary it for example //need to declare variable here //for example x=0 {% for message in message %} //need to put if condition here //ifequal x 0 //x=1 /