I'm pretty sure you can't do that.

http://www.djangobook.com/en/1.0/chapter04/ (see "Philosophies and
Limitations")

also, http://www.djangoproject.com/documentation/

Dave


On Jan 9, 2008 12:20 AM, Gaojiawang <[EMAIL PROTECTED]> wrote:

>
> Hi,all
> I want to use the local variable in template's html file.
>
> like 'count = 0' and how to use it
> {% ifequal count%4 0%}
> do something
> {% endifequal%}
>
> But Do not pass.
>
> How to do it?
> >
>


-- 
David Grant
http://www.davidgrant.ca

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to