Ticket #16725: 16725.diff
File 16725.diff, 447 bytes (added by , 13 years ago) |
---|
-
docs/topics/cache.txt
571 571 from django.views.decorators.cache import cache_page 572 572 573 573 urlpatterns = ('', 574 (r'^foo/(\d{1,2})/$', cache_page( 60 * 15)(my_view)),574 (r'^foo/(\d{1,2})/$', cache_page((60 * 15), my_view)), 575 575 ) 576 576 577 577 Template fragment caching