Set postgresql as default database configuration on common settings
parent
31d96b7cb1
commit
83deab108b
|
@ -37,9 +37,8 @@ DEFAULT_TASK_PARSER_RE = "^\s*Task\:(.+)$"
|
||||||
|
|
||||||
DATABASES = {
|
DATABASES = {
|
||||||
'default': {
|
'default': {
|
||||||
'ENGINE': 'django.db.backends.sqlite3', # Add 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
|
'ENGINE': 'django.db.backends.postgresql_psycopg2',
|
||||||
'NAME': os.path.join(OUT_PROJECT_ROOT, 'database.sqlite'), # Or path to database file if using sqlite3.
|
'NAME': 'greenmine',
|
||||||
'OPTIONS': {'timeout': 20}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue