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 discovery, this will not work. I naturally assumed the 
cache generated the key from the arguments.

-- 
Christian Joergensen | Linux, programming or web consultancy
http://www.razor.dk  |     Visit us at: http://www.gmta.info

--~--~---------~--~----~------------~-------~--~----~
 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