Re: Views runs twice when using custom context processor

2009-05-22 Thread Colin Bean
On Fri, May 22, 2009 at 7:23 AM, eightflower wrote: > > It appears that {% thumbnail %} tag from sorl-thumbnail app is causing > this. When my context processor is off, > thumbnail just does not have anything to do because it has no context. > > > Are the image tags pointing to the correct path?

Re: Views runs twice when using custom context processor

2009-05-22 Thread eightflower
It appears that {% thumbnail %} tag from sorl-thumbnail app is causing this. When my context processor is off, thumbnail just does not have anything to do because it has no context. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Go

Re: Views runs twice when using custom context processor

2009-05-22 Thread eightflower
I noticed that when I delete {% extends *** %} tag from templates which are rendered by aforementioned views, it works fine. Also I excluded all styles and javascript from the *** base template and still when it is 'subclassed' view runs twice. sending request with `curl` works fine ... view run

Views runs twice when using custom context processor

2009-05-22 Thread eightflower
When my simple custom context processor is added to TEMPLATE_CONTEXT_PROCESSORS, every view which uses `RequestContext` is called twice. What am I missing? When I exclude my processor from TEMPLATE_CONTEXT_PROCESSORS these views run once. My processor is just a function which takes request and ret