Add an actual cache for local development

This commit is contained in:
Jake Howard 2022-07-10 17:14:10 +01:00
parent 0a8d6556a4
commit 8a4d91fecb
Signed by: jake
GPG Key ID: 57AFB45680EDD477
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored
View File

@ -305,3 +305,4 @@ cython_debug/
/collected-static
media/
django-cache/

View File

@ -86,7 +86,7 @@ WSGI_APPLICATION = "website.wsgi.application"
DATABASES = {"default": env.db(default=f"sqlite:///{BASE_DIR}/db.sqlite3")}
CACHES = {"default": env.cache(default="dummycache://")}
CACHES = {"default": env.cache(default=f"filecache:///{BASE_DIR}/django-cache")}
# Internationalization