Fakultas Ilmu Komputer UI

Commit f54e2f33 authored by Rayza Arasj Mahardhika's avatar Rayza Arasj Mahardhika
Browse files

add database setting

parent 1a6ec013
Pipeline #28296 passed with stage
in 12 minutes and 13 seconds
......@@ -95,9 +95,9 @@ WSGI_APPLICATION = 'superlists.wsgi.application'
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.postgresql_psycopg2',
'NAME': os.environ.get('DB_NAME', ''),
'USER': os.environ.get('DB_USER', ''),
'PASSWORD': os.environ.get('DB_PASS', ''),
'NAME': os.environ.get('DB_NAME', 'database'),
'USER': os.environ.get('DB_USER', 'postgres'),
'PASSWORD': os.environ.get('DB_PASS', 'password'),
'HOST': os.environ.get('DB_HOST', 'localhost'),
'PORT': '5432',
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment