update caching on homepage, and add db checks to healthcheck
This commit is contained in:
parent
411c274e56
commit
7d94dc001f
4 changed files with 75 additions and 18 deletions
6
common/context_processors.py
Normal file
6
common/context_processors.py
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
from django.conf import settings
|
||||
|
||||
def cache_settings(request):
|
||||
return {
|
||||
'CACHE_TIMEOUT': settings.CACHE_TIMEOUT,
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue