summaryrefslogtreecommitdiffstats
path: root/conf/settings/local.py
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2024-06-07 10:17:55 +0100
committerMatthew Lemon <y@yulqen.org>2024-06-07 10:17:55 +0100
commit76849342a720ea72e1afae6040445582dea3ae51 (patch)
treec8fc483b0b0e616dd64ba145ec45a36e589c384b /conf/settings/local.py
parent95d2528c8ec92e9ba153d6ed789ed603fa45c9a7 (diff)
Configures local dev to use sqlite and moves whitenoise middleware to prod settings
Diffstat (limited to 'conf/settings/local.py')
-rw-r--r--conf/settings/local.py19
1 files changed, 13 insertions, 6 deletions
diff --git a/conf/settings/local.py b/conf/settings/local.py
index 0992726..fc42701 100644
--- a/conf/settings/local.py
+++ b/conf/settings/local.py
@@ -1,12 +1,19 @@
from .base import *
+# DATABASES = {
+# "default": {
+# "ENGINE": "django.db.backends.postgresql",
+# "NAME": "ded",
+# "USER": "ded",
+# "PASSWORD": "ded",
+# "HOST": "postgres",
+# "PORT": 5432,
+# }
+# }
+
DATABASES = {
"default": {
- "ENGINE": "django.db.backends.postgresql",
- "NAME": "ded",
- "USER": "ded",
- "PASSWORD": "ded",
- "HOST": "postgres",
- "PORT": 5432,
+ "ENGINE": "django.db.backends.sqlite3",
+ "NAME": "db.sqlite3",
}
}