Hi guys,

I'm migrating a project from django1.1 to django1.2.1 and I have
problems with cache.

I used to write on the urls:

"""
from django.views.generic.simple import direct_to_template

urlpatterns = patterns('',
    (r'^$', cache_page(direct_to_template), {'template':'home.html'}),
)
"""

This is the same as the documentation tells, except that I pass the
"template" in the kwargs. That works in the django1.1 but do not work
in django1.2.

If this is correct, I need to create a wrapper for the
direct_to_template function. Do I need to create the wrapper or is
this a bug?

Thanks in advance.

--
Michel Sabchuk
Brazil

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

Reply via email to