Re: I want to pass the Exception info from Http404 to handler404 view and consequently the 404.html

2011-10-31 Thread Mateusz Marzantowicz
On Sun, Oct 30, 2011 at 8:38 PM, Kiril wrote: > Hello guys, > > in the past few months I have been developing a simple web site using > Django. I found Django amazing and mature framework for my needs. I am > now about to publish it in public hosting. > > To my dismay the erro info I have include

Re: Clearing cache between tests (#11505)

2011-10-31 Thread Jim Dalton
On Oct 30, 2011, at 4:19 PM, Jeremy Dunck wrote: Hi Jeremy, > I locally have a test-runner class that calls .clear() on setUp. > Works for me. But we run CI, so test against prod. I needed to point > to different CACHES under test to avoid flushing prod cache 20 times > per day. Right. You've

CacheMiddleware with generation-style caching

2011-10-31 Thread jonathan
Hi all, I'm trying to implement a generation-style caching system with django [1]. I found django-jimmypage [2] which implements an alternative version of @cache_page, and it uses johnny-cache [3] for an "infinite" cache timeout. However, most of the code in django-jimmypage appears quite simila