]> git.0d.be Git - chloro.git/commitdiff
settings: use postgresql
authorFrédéric Péters <fpeters@0d.be>
Sun, 29 Dec 2019 12:51:55 +0000 (13:51 +0100)
committerFrédéric Péters <fpeters@0d.be>
Sun, 29 Dec 2019 13:34:25 +0000 (14:34 +0100)
chloro/settings.py

index 3fb408aa21aa0d31db7a38262112893cb3e05261..0f15e87b49d3e0137961824029e210072a89a3ce 100644 (file)
@@ -73,7 +73,7 @@ WSGI_APPLICATION = 'chloro.wsgi.application'
 # https://docs.djangoproject.com/en/1.11/ref/settings/#databases
 
 DATABASES = {
 # https://docs.djangoproject.com/en/1.11/ref/settings/#databases
 
 DATABASES = {
-    'default': {'ENGINE': 'django.db.backends.sqlite3', 'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),}
+    'default': {'ENGINE': 'django.db.backends.postgresql_psycopg2', 'NAME': 'chloro',},
 }
 
 
 }