Skip to content

Commit

Permalink
settings: Add CI defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
jpmckinney committed Dec 10, 2023
1 parent 7b18cc1 commit a2aa764
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@
DATABASES = {
'default': {
'ENGINE': 'django.contrib.gis.db.backends.postgis',
'NAME': 'represent_boundaries',
'NAME': 'postgres' if os.getenv('CI', False) else 'represent_boundaries',
'USER': 'postgres' if os.getenv('CI', False) else '',
'PASSWORD': 'postgres' if os.getenv('CI', False) else '',
'PORT': os.getenv('PORT', 5432),
}
}

Expand Down

0 comments on commit a2aa764

Please sign in to comment.