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