Skip to content

Commit

Permalink
Make database name configurable (#648)
Browse files Browse the repository at this point in the history
  • Loading branch information
sunu authored Nov 24, 2023
1 parent 5a25727 commit 5078345
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/settings/production.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
DATABASES = {
'default': {
'ENGINE': 'django.contrib.gis.db.backends.postgis',
'NAME': 'osmcha',
'NAME': env('POSTGRES_DATABASE', default='osmcha'),
'USER': env('POSTGRES_USER'),
'PASSWORD': env('POSTGRES_PASSWORD'),
'HOST': env('PGHOST', default='localhost')
Expand Down

0 comments on commit 5078345

Please sign in to comment.