Re: how to create a custom django template filter(please help)

2010-07-26 Thread Joseph
hi all thanks for answering my question i already found the answer just dont do this it will work {% load customTags %} tks Joseph On Jul 27, 8:59 am, Joseph wrote: > thanks , but still doesnt work.. > > On Jul 27, 8:48 am, Karen Tracey wrote: > > > > > On Mon, Jul 26, 2010 at 9:18 PM, Joseph

Re: how to create a custom django template filter(please help)

2010-07-26 Thread Joseph
thanks , but still doesnt work.. On Jul 27, 8:48 am, Karen Tracey wrote: > On Mon, Jul 26, 2010 at 9:18 PM, Joseph wrote: > > hi > > the level of directory(named templateTags) is same with the model.py > > and main.py > > and i put both __init__.py customTags.py and under templateTags > > > for

Re: how to create a custom django template filter(please help)

2010-07-26 Thread Karen Tracey
On Mon, Jul 26, 2010 at 9:18 PM, Joseph wrote: > hi > the level of directory(named templateTags) is same with the model.py > and main.py > and i put both __init__.py customTags.py and under templateTags > > for sure the name __init__.py is correct > > i run on AppEngine not Django > > Try naming

Re: how to create a custom django template filter(please help)

2010-07-26 Thread Joseph
hi the level of directory(named templateTags) is same with the model.py and main.py and i put both __init__.py customTags.py and under templateTags for sure the name __init__.py is correct i run on AppEngine not Django would u tell me more detail about this and thanks answering my question tks

Re: how to create a custom django template filter(please help)

2010-07-26 Thread Daniel Roseman
On Jul 26, 1:56 pm, Joseph wrote: > hi > im a newbie if u know please answer me > i just follow steps of django   > websitehttp://www.djangoproject.com/documentation/0.96/templates_python/ > > create a directory under inside has two file _init_.py and > customTags.py > > content of customTags.py >

Re: how to create a custom django template filter(please help)

2010-07-26 Thread Bill Freeman
It's a bit hard to tell in the browser on this webmail account, but I think that you have the wrong number of underscores before and after "init" in "__init__.py". There must be two underscore characters before the word "init" and two after it, before the ".py". The tutorial at python.org really i

Re: how to create a custom django template filter(please help)

2010-07-26 Thread Steve Holden
On 7/26/2010 1:56 PM, Joseph wrote: > hi > im a newbie if u know please answer me > i just follow steps of django website > http://www.djangoproject.com/documentation/0.96/templates_python/ > > create a directory under inside has two file _init_.py and > customTags.py > > content of customTags.p

how to create a custom django template filter(please help)

2010-07-26 Thread Joseph
hi im a newbie if u know please answer me i just follow steps of django website http://www.djangoproject.com/documentation/0.96/templates_python/ create a directory under inside has two file _init_.py and customTags.py content of customTags.py from google.appengine.ext.webapp import template re