Cache the stats page

This commit is contained in:
Daan Sprenkels
2018-08-16 16:58:19 +02:00
parent 3f22056157
commit 60084cfe04
5 changed files with 135 additions and 53 deletions

View File

@ -91,6 +91,13 @@ PASSWORD_HASHERS = [
'django.contrib.auth.hashers.UnsaltedMD5PasswordHasher',
]
CACHES = {
'default': {
'BACKEND': 'django.core.cache.backends.filebased.FileBasedCache',
'LOCATION': '/var/tmp/MarietjeDjango_cache',
}
}
AUTH_USER_MODEL = 'marietje.User'
LANGUAGE_CODE = 'en-us'
TIME_ZONE = 'Europe/Amsterdam'