aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/settings/base.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/config/settings/base.py b/config/settings/base.py
index 83317ca..865ea99 100644
--- a/config/settings/base.py
+++ b/config/settings/base.py
@@ -54,6 +54,16 @@ ROOT_URLCONF = "config.urls"
# https://docs.djangoproject.com/en/dev/ref/settings/#wsgi-application
WSGI_APPLICATION = "config.wsgi.application"
+# CACHE
+# We're going to use the database here
+
+CACHES = {
+ 'default': {
+ 'BACKEND': 'django.core.cache.backends.db.DatabaseCache',
+ 'LOCATION': 'ctrack_cache_table',
+ }
+}
+
# APPS
# ------------------------------------------------------------------------------
DJANGO_APPS = [