On 11/14/06, Christian Joergensen <[EMAIL PROTECTED]> wrote:
> Reading Jeremy's discovery, this will not work. I naturally assumed the
> cache generated the key from the arguments.
You might try using the 'vary_on_headers' decorator; since you're
switching based on the language being served, doin
Christian Joergensen wrote:
> You could do a simple:
>
> def my_view(request):
> return render_my_view(request, request.session.LANGUAGE_CODE)
>
> def render_my_view(request, language_code):
> # do stuff
>
> render_my_view = cache_page(render_my_view, cache_time)
Reading Jeremy's dis
On Mon, 13 Nov 2006 19:04:19 -0600, Jeremy Dunck wrote:
> On 11/13/06, Patrick <[EMAIL PROTECTED]> wrote:
>> I'd appreciate your informative answers and am
>> looking forward to getting familiar with this part of the framework.
>
> Can you show the code that's storing the cached info? There are
On 11/13/06, Patrick <[EMAIL PROTECTED]> wrote:
> I'd appreciate your informative answers and am
> looking forward to getting familiar with this part of the framework.
Can you show the code that's storing the cached info? There are
several ways to get data into and out of the cache (all document
4 matches
Mail list logo