Re: ifequal and numbers

2008-10-28 Thread Daniel Roseman
On Oct 27, 10:36 pm, "Alfredo Alessandrini" <[EMAIL PROTECTED]> wrote: > There is a method for write this, without write a loop: > > {% ifequal apple.number <20 %} > .. > {% endifequal %} > > Alfredo On Oct 27, 11:52 pm, "R. Gorman" <[EMAIL PROTECTED]> wrote: > You would prob

Re: ifequal and numbers

2008-10-27 Thread R. Gorman
You would probably be better off writing a custom template tag (http:// docs.djangoproject.com/en/dev/howto/custom-template-tags/#howto-custom- template-tags). R. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Djan

ifequal and numbers

2008-10-27 Thread Alfredo Alessandrini
There is a method for write this, without write a loop: {% ifequal apple.number <20 %} .. {% endifequal %} Alfredo --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post