Re: Passing a variable to forloop

2008-04-30 Thread Jay
Thanks! You rock. On Apr 30, 9:37 pm, Lucas Hazel <[EMAIL PROTECTED]> wrote: > On Wed, 30 Apr 2008 17:48:54 -0700 (PDT) > > > > Jay <[EMAIL PROTECTED]> wrote: > > > Thank you-- I meant to include that.  The template tag is here, > > unchanged: > > >http://www.djangosnippets.org/snippets/673/ > >

Re: Passing a variable to forloop

2008-04-30 Thread Lucas Hazel
On Wed, 30 Apr 2008 17:48:54 -0700 (PDT) Jay <[EMAIL PROTECTED]> wrote: > > Thank you-- I meant to include that. The template tag is here, > unchanged: > > http://www.djangosnippets.org/snippets/673/ > > On Apr 30, 8:41 pm, Lucas Hazel <[EMAIL PROTECTED]> wrote: > > On Wed, 30 Apr 2008 17:21:

Re: Passing a variable to forloop

2008-04-30 Thread Jay
Thank you-- I meant to include that. The template tag is here, unchanged: http://www.djangosnippets.org/snippets/673/ On Apr 30, 8:41 pm, Lucas Hazel <[EMAIL PROTECTED]> wrote: > On Wed, 30 Apr 2008 17:21:47 -0700 (PDT) > > > > Jay <[EMAIL PROTECTED]> wrote: > > > Hi, guys.  I'm working with a

Re: Passing a variable to forloop

2008-04-30 Thread Lucas Hazel
On Wed, 30 Apr 2008 17:21:47 -0700 (PDT) Jay <[EMAIL PROTECTED]> wrote: > > Hi, guys. I'm working with a paginator templatetag, and I'm trying to > apply a custom style to the current page. > > In the code below, page.number renders *outside* the forloop, but not > *inside* the forloop. > > {

Passing a variable to forloop

2008-04-30 Thread Jay
Hi, guys. I'm working with a paginator templatetag, and I'm trying to apply a custom style to the current page. In the code below, page.number renders *outside* the forloop, but not *inside* the forloop. {{ page.number }} << this one renders, but the next page.number does not. {% for page in pa