Re: Caching and I18n

2008-11-25 Thread Antoni Aloy
2008/11/25 [EMAIL PROTECTED] <[EMAIL PROTECTED]>: > > Hello Aloy, > > I saw the great work you did on ticket #5691. Thanks a lot, I highly > appreciate that! We have to offer our first release with the bug, but > I hope to be able to include your patch or a workaround for the next > one and will

Re: Caching and I18n

2008-11-25 Thread [EMAIL PROTECTED]
Hello Aloy, I saw the great work you did on ticket #5691. Thanks a lot, I highly appreciate that! We have to offer our first release with the bug, but I hope to be able to include your patch or a workaround for the next one and will give feedback once that's been done. With regards, Maik

Re: Caching and I18n

2008-11-20 Thread Antoni Aloy
2008/11/20 Malcolm Tredinnick <[EMAIL PROTECTED]>: > > > Andrew's final comment on that ticket is accurate. Removing the code > duplication is pretty easy there and following the examples in > tests/regressiontests/middleware/tests.py to create some tests for it > should be fairly

Re: Caching and I18n

2008-11-20 Thread Malcolm Tredinnick
On Thu, 2008-11-20 at 07:17 -0200, Ramiro Morales wrote: > On Sun, Nov 16, 2008 at 10:14 PM, [EMAIL PROTECTED] > <[EMAIL PROTECTED]> wrote: > > > > Hello Ramiro, > > > > thanks for your reply. According to the docs, the Locale and Session > > middlewares should set the Vary-On headers

Re: Caching and I18n

2008-11-20 Thread Ramiro Morales
On Sun, Nov 16, 2008 at 10:14 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Hello Ramiro, > > thanks for your reply. According to the docs, the Locale and Session > middlewares should set the Vary-On headers accordingly, and indeed > they are: > > Date: Sun, 16 Nov 2008 23:49:29 GMT >

Re: Caching and I18n

2008-11-16 Thread [EMAIL PROTECTED]
Hello Ramiro, thanks for your reply. According to the docs, the Locale and Session middlewares should set the Vary-On headers accordingly, and indeed they are: Date: Sun, 16 Nov 2008 23:49:29 GMT Server: WSGIServer/0.1 Python/2.5.2 Vary: Accept-Language, Cookie Content-Type: text/html;

Re: Caching and I18n

2008-11-16 Thread Ramiro Morales
On Sun, Nov 16, 2008 at 10:51 AM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Hello everyone, > > I'm trying to implement caching for my bilingual site. The problem is > that once I enable caching and I change the language (via the example > code in >

Caching and I18n

2008-11-16 Thread [EMAIL PROTECTED]
Hello everyone, I'm trying to implement caching for my bilingual site. The problem is that once I enable caching and I change the language (via the example code in http://docs.djangoproject.com/en/dev/topics/i18n/?from=olddocs#the-set-language-redirect-view ), the page does not change. The