H... I need to redact my statement about pickling working on the
filesystem cache back-end. On one particular Windows development
machine it works, but not on a linux box with identical code on
Apache.
Which leaves me in an even more strange situation... why does the
development server's pick
There was a topic on this a couple of years ago, and it seems to still
be around. (Original:
http://groups.google.com/group/django-users/browse_thread/thread/32143d024b17dd00?pli=1)
An exception is raised when trying to use the low-level caching API on
a QuerySet. I read from the mentioned thre
On Sun, 2008-04-27 at 05:45 -0700, Julien wrote:
> Thanks Malcolm, I turned the queryset into a list, and it worked:
> sidebar["countries"] = [country for country in
> Country.objects.exclude(id=1).order_by('name')]
list(Country.objects.exclude(id=1).order_by('name') will be faster and
less code
Thanks Malcolm, I turned the queryset into a list, and it worked:
sidebar["countries"] = [country for country in
Country.objects.exclude(id=1).order_by('name')]
Now, just out of curiosity, why didn't I get an error before using
queryset refactor. I can't be sure that the caching actually happened
On Sun, 2008-04-27 at 22:27 +1000, Malcolm Tredinnick wrote:
[...]
> Querysets aren't picklable. It's really hard! I'll work on it at some
> point, but... it's really hard!
To be more specific: I know what has to be done and have something
half-implemented. It's fairly deep internals stuff, thou
On Sun, 2008-04-27 at 05:16 -0700, Julien wrote:
> Hi,
>
> I'm back again with an issue that I got since upgrading to queryset-
> refactor. That issue appears at run time. Every page on my site caches
> the sidebar, which contains some expensive randomly generated content.
> Since I upgraded to
Hi,
I'm back again with an issue that I got since upgrading to queryset-
refactor. That issue appears at run time. Every page on my site caches
the sidebar, which contains some expensive randomly generated content.
Since I upgraded to qs-rf I get the following error for every page of
the site:
E
7 matches
Mail list logo