From b4cb551913c66cf896ae09aa6544c7333ed854b2 Mon Sep 17 00:00:00 2001 From: James Graham <J.Graham@software.ac.uk> Date: Mon, 18 Feb 2019 14:36:57 +0000 Subject: [PATCH] Make MySQL database default in settings.py --- pedasi/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pedasi/settings.py b/pedasi/settings.py index a643982..85512f8 100644 --- a/pedasi/settings.py +++ b/pedasi/settings.py @@ -137,7 +137,7 @@ WSGI_APPLICATION = 'pedasi.wsgi.application' DATABASES = { 'default': config( 'DATABASE_URL', - default='sqlite:///' + os.path.join(BASE_DIR, 'db.sqlite3'), + default='mysql://pedasi:pedasi@localhost:3306/pedasi', cast=dj_database_url.parse ), } -- GitLab