|
|
@ -82,12 +82,12 @@ WSGI_APPLICATION = 'mysite.wsgi.application' |
|
|
|
|
|
|
|
|
DATABASES = { |
|
|
DATABASES = { |
|
|
"default": { |
|
|
"default": { |
|
|
"ENGINE": os.environ.get("SQL_ENGINE", "django.db.backends.sqlite3"), |
|
|
|
|
|
"NAME": os.environ.get("SQL_DATABASE", BASE_DIR / "db.sqlite3"), |
|
|
|
|
|
"USER": os.environ.get("SQL_USER", "user"), |
|
|
|
|
|
"PASSWORD": os.environ.get("SQL_PASSWORD", "password"), |
|
|
|
|
|
"HOST": os.environ.get("SQL_HOST", "localhost"), |
|
|
|
|
|
"PORT": os.environ.get("SQL_PORT", "5432"), |
|
|
|
|
|
|
|
|
"ENGINE": "django.db.backends.postgresql", |
|
|
|
|
|
"NAME": "djangotutorial", |
|
|
|
|
|
"USER": "creylopez", |
|
|
|
|
|
"PASSWORD": "Dsa-0213", |
|
|
|
|
|
"HOST": "postgresql", |
|
|
|
|
|
"PORT": "5432", |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|