Skip to content
Snippets Groups Projects
Commit b4cb5519 authored by James Graham's avatar James Graham
Browse files

Make MySQL database default in settings.py

parent d544ca51
No related branches found
No related tags found
No related merge requests found
...@@ -137,7 +137,7 @@ WSGI_APPLICATION = 'pedasi.wsgi.application' ...@@ -137,7 +137,7 @@ WSGI_APPLICATION = 'pedasi.wsgi.application'
DATABASES = { DATABASES = {
'default': config( 'default': config(
'DATABASE_URL', 'DATABASE_URL',
default='sqlite:///' + os.path.join(BASE_DIR, 'db.sqlite3'), default='mysql://pedasi:pedasi@localhost:3306/pedasi',
cast=dj_database_url.parse cast=dj_database_url.parse
), ),
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment