Enable caching via DB and update cache timeouts
This commit is contained in:
parent
9ce5d525b3
commit
27c7238a82
11 changed files with 281 additions and 283 deletions
|
|
@ -10,7 +10,6 @@ from django.views.decorators.cache import cache_page
|
|||
from django.template.response import TemplateResponse
|
||||
from django.http import HttpResponseRedirect
|
||||
|
||||
@method_decorator(cache_page(60), name='get')
|
||||
class HomePageView(TemplateView):
|
||||
template_name = "home/home.html"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue