Re: Index of an item in a QuerySet

2006-11-02 Thread Frankie Robertson
On 01/11/06, Gábor Farkas <[EMAIL PROTECTED]> wrote: > > Frankie Robertson wrote: > > On 01/11/06, Gábor Farkas <[EMAIL PROTECTED]> wrote: > >> samuel wrote: > > I'm probably just not seeing it, but how do I go about getting the > > index of an item in a query set? I.E., this article is t

Re: Index of an item in a QuerySet

2006-11-01 Thread Gábor Farkas
Frankie Robertson wrote: > On 01/11/06, Gábor Farkas <[EMAIL PROTECTED]> wrote: >> samuel wrote: > I'm probably just not seeing it, but how do I go about getting the > index of an item in a query set? I.E., this article is the Xth article > in this queryset of articles sorted by date.

Re: Index of an item in a QuerySet

2006-11-01 Thread Frankie Robertson
On 01/11/06, Gábor Farkas <[EMAIL PROTECTED]> wrote: > > samuel wrote: > >>> I'm probably just not seeing it, but how do I go about getting the > >>> index of an item in a query set? I.E., this article is the Xth article > >>> in this queryset of articles sorted by date. > >> If you're looping th

Re: Index of an item in a QuerySet

2006-11-01 Thread Gábor Farkas
samuel wrote: >>> I'm probably just not seeing it, but how do I go about getting the >>> index of an item in a query set? I.E., this article is the Xth article >>> in this queryset of articles sorted by date. >> If you're looping through them in the template with the 'for' tag, >> each time throu

Re: Index of an item in a QuerySet

2006-10-31 Thread samuel
> > I'm probably just not seeing it, but how do I go about getting the > > index of an item in a query set? I.E., this article is the Xth article > > in this queryset of articles sorted by date. > > If you're looping through them in the template with the 'for' tag, > each time through the loop yo

Index of an item in a QuerySet

2006-10-31 Thread samuel
Hi all, I'm probably just not seeing it, but how do I go about getting the index of an item in a query set? I.E., this article is the Xth article in this queryset of articles sorted by date. Thanks, Sam --~--~-~--~~~---~--~~ You received this message because yo

Re: Index of an item in a QuerySet

2006-10-31 Thread James Bennett
On 10/31/06, samuel <[EMAIL PROTECTED]> wrote: > I'm probably just not seeing it, but how do I go about getting the > index of an item in a query set? I.E., this article is the Xth article > in this queryset of articles sorted by date. If you're looping through them in the template with the 'for