Skip to content

Commit 07ce917

Browse files
committed
make Postgres and S3 configurable through environment
1 parent 005d7f2 commit 07ce917

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

demoapp/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
WSGI_APPLICATION = 'wsgi.application'
7676

7777

78-
if os.getenv('USE_POSTGRES', False) in ['1', 'True', 'true']:
78+
if os.getenv('USE_POSTGRES', False) in ['1', 'TRUE', 'True', 'true']:
7979
DATABASES = {
8080
'default': {
8181
'ENGINE': 'django.db.backends.postgresql',

0 commit comments

Comments
 (0)