Re: I wish for a "less than" and "greater than" in templates

2007-03-21 Thread Michael Lake
limodou wrote: > You can also use PyIf tag(written by me) to do that. > http://www.djangosnippets.org/snippets/12/ > And it can support any python expression. So it's more general I think. And it's short and understandable. I like it too. Thanks Mike -- Michael Lake --~--~-~--~~

Re: I wish for a "less than" and "greater than" in templates

2007-03-21 Thread limodou
On 3/22/07, Michael Lake <[EMAIL PROTECTED]> wrote: > > Kenneth Gonsalves wrote: > > > On 22-Mar-07, at 9:25 AM, Michael Lake wrote: > >>>write your own tag - someone has done it, you can see it in this > >>>file: > >>> > >>>http://nrcfosshelpline.in/code/browser/trunk/web/templatetags/ > >>>base_

Re: I wish for a "less than" and "greater than" in templates

2007-03-21 Thread Michael Lake
Kenneth Gonsalves wrote: > On 22-Mar-07, at 9:25 AM, Michael Lake wrote: >>>write your own tag - someone has done it, you can see it in this >>>file: >>> >>>http://nrcfosshelpline.in/code/browser/trunk/web/templatetags/ >>>base_utils.py >>> >>>class CompareNode near the end >> >>But that link a

Re: I wish for a "less than" and "greater than" in templates

2007-03-21 Thread Kenneth Gonsalves
On 22-Mar-07, at 9:25 AM, Michael Lake wrote: >> write your own tag - someone has done it, you can see it in this >> file: >> >> http://nrcfosshelpline.in/code/browser/trunk/web/templatetags/ >> base_utils.py >> >> class CompareNode near the end > > But that link above no longer works. works