Hi guys!
I've found the sollution. If I use to following code, it works:
"""
from django.views.generic.simple import direct_to_template
urlpatterns = patterns('',
(r'^$', cache_page(direct_to_template, 60*15),
{'template':'home.html'}),
)
"""
Note that I specify the cache timeout in the cac
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'}),
)
"""
Thi
2 matches
Mail list logo