Add an actual cache for local development
This commit is contained in:
parent
0a8d6556a4
commit
8a4d91fecb
2 changed files with 2 additions and 1 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -305,3 +305,4 @@ cython_debug/
|
|||
|
||||
/collected-static
|
||||
media/
|
||||
django-cache/
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue