I have no idea what you are doing exactly...maybe this helps:
http://www.djangoproject.com/documentation/templates/#cycle

Perhaps provide an example of your query set and what you want it the final
output to look like.

Dave

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

>
> Hi,
> Thanks your reply.
> I get an assemblly data and want to show in the template.
> How to show four result in one row?
> I have no idea about this.
>
>
> Thanks and regards.
>
>
> On Jan 9, 4:24 pm, "David Grant" <[EMAIL PROTECTED]> wrote:
> > I'm pretty sure you can't do that.
> >
> > http://www.djangobook.com/en/1.0/chapter04/(see<http://www.djangobook.com/en/1.0/chapter04/%28see>"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 Granthttp://www.davidgrant.ca
> >
>


-- 
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