Skip to content

Commit

Permalink
Update settings.py
Browse files Browse the repository at this point in the history
  • Loading branch information
arthurfonsecaa authored Jun 10, 2024
1 parent eca1e4d commit f5f71a2
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions driverplan/driverplan/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,16 +82,17 @@

DATABASES = {
'default': {
'ENGINE': os.getenv('DB_ENGINE', 'change-me'),
'NAME': os.getenv('POSTGRES_DB', 'change-me'),
'USER': os.getenv('POSTGRES_USER', 'change-me'),
'PASSWORD': os.getenv('POSTGRES_PASSWORD', 'change-me'),
'HOST': os.getenv('POSTGRES_HOST', 'change-me'),
'PORT': os.getenv('POSTGRES_PORT', 'change-me'),
'ENGINE': 'django.db.backends.postgresql_psycopg2',
'NAME': 'driverplan_db',
'USER': 'admin',
'PASSWORD': 'kYDTjmsG8b2D8t1jycIhFZkjPBKYlpTw',
'HOST': 'dpg-cpjii2acn0vc73ampkg0-a.oregon-postgres.render.com',
'PORT': '5432',
}
}



# Password validation
# https://docs.djangoproject.com/en/5.0/ref/settings/#auth-password-validators

Expand Down

0 comments on commit f5f71a2

Please sign in to comment.