Re: Creating a current path Context Processor

2007-06-06 Thread Evan H. Carmi
James Bennett wrote: > On 6/3/07, Evan H. Carmi <[EMAIL PROTECTED]> wrote: >> I don't know how to pass the context processor with HttpResponse so my >> template can do the ifequal. If someone can send me in the right >> direction it would be glorious. > > Have a look at the documentation, which c

Re: Creating a current path Context Processor

2007-06-03 Thread James Bennett
On 6/3/07, Evan H. Carmi <[EMAIL PROTECTED]> wrote: > I don't know how to pass the context processor with HttpResponse so my > template can do the ifequal. If someone can send me in the right > direction it would be glorious. Have a look at the documentation, which covers the fact that you need t

Creating a current path Context Processor

2007-06-03 Thread Evan H. Carmi
Hi, I am trying to follow the DRY principle. For the navigation of my site I want to have a single template. My problem is that I need a way to change the class of the nav links depending on what page is currently being visited. I want to try and do something of this sort: In my template do a if