Skip to content

Commit

Permalink
Update DEBUG django setting.
Browse files Browse the repository at this point in the history
  • Loading branch information
wlorenzetti committed Jun 3, 2022
1 parent 0620885 commit 172a2ed
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions config/g3w-suite/settings_docker.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
'qplotly',
# Uncomment if you wont activate the following module
#'openrouteservice',
'frontend'
]

DATABASES = {
Expand All @@ -29,10 +28,10 @@

MEDIA_ROOT = '/shared-volume/media/'
MEDIA_URL = '/media/'
STATIC_ROOT = '/shared-volume/static/'
STATIC_URL = '/static/'
#STATIC_ROOT = '/shared-volume/static/'
#STATIC_URL = '/static/'

DEBUG = False if os.getenv('G3WSUITE_DEBUG', 0) == 0 else True
DEBUG = True if os.getenv('G3WSUITE_DEBUG', 'False') == 'True' else False

DATASOURCE_PATH = '/shared-volume/project_data/'

Expand Down

0 comments on commit 172a2ed

Please sign in to comment.