from django.conf.urls import url
from django.views.decorators.cache import cache_page

from . import views

urlpatterns = [
    #http://127.0.0.1:8000/index/test_cache/100
    #url(r'^test_cache$', cache_page(15)(views.test_cache)),
    url(r'^test_cache$',views.test_cache)
]
7bf73b6e2de757a80a08eab8fbea464a217abab2
<mask token>

<mask token>
urlpatterns = [url('^test_cache$', views.test_cache)]

from django.conf.urls import url
from django.views.decorators.cache import cache_page
from . import views
urlpatterns = [url('^test_cache$', views.test_cache)]

from django.conf.urls import url
from django.views.decorators.cache import cache_page

from . import views

urlpatterns = [
    #http://127.0.0.1:8000/index/test_cache/100
    #url(r'^test_cache$', cache_page(15)(views.test_cache)),
    url(r'^test_cache$',views.test_cache)
]