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, doing
"@vary_on_headers('Accept-Language')" may do what you're looking for.

Check out the full documentation for more information:
http://www.djangoproject.com/documentation/cache/#using-vary-headers

-- 
"May the forces of evil become confused on the way to your house."
  -- George Carlin

--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to