Hallöchen!
Salvatore Iovene writes:
> On Sat, Nov 5, 2011 at 7:43 AM, Torsten Bronger
> wrote:
>
>> Sending e.g. "Expires: ..." so that the page expires immediately
>> solved the problem.
>
> Sending an Expires header so that the page expires immediately
> does work, but it feels like fixing a h
On Sat, Nov 5, 2011 at 7:43 AM, Torsten Bronger
wrote:
> Sending e.g. "Expires: ..." so that the page expires immediately
> solved the problem.
Sending an Expires header so that the page expires immediately does
work, but it feels like fixing a headache with a guillotine. The
browser should cache
Hallöchen!
Salvatore Iovene writes:
> On Friday, November 4, 2011 5:31:46 PM UTC+2, Salvatore Iovene wrote:
>>
>> if hasattr(request, 'session'):
>> request.session['django_language'] = lang
>> else:
>> response.set_cookie(settings.LANGUAGE_COOKIE_NAME, lan
On Friday, November 4, 2011 5:31:46 PM UTC+2, Salvatore Iovene wrote:
>
> if hasattr(request, 'session'):
> request.session['django_language'] = lang
> else:
> response.set_cookie(settings.LANGUAGE_COOKIE_NAME, lang)
>
I have solved my problem by setting the
PS: I have also tried the @vary_on_header('Accept-Language') decorator, but
unfortunately that didn't help either.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/django-
Hi,
I've got a Django website that's multi-lingual, and I'd like to use
memcaching on it. While everything works fine with caching disabled, I have
observed the following when caching is enabled:
1) Open any page on the website
2) Click on link (the image of a little flat) to change language
3)
6 matches
Mail list logo