Skip to content

Commit

Permalink
Set default datastore from env for OGC server settings
Browse files Browse the repository at this point in the history
  • Loading branch information
giohappy committed Jun 7, 2018
1 parent 30a7c9b commit 5694354
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion geonode/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -763,7 +763,7 @@
% os.path.abspath(os.path.join(PROJECT_ROOT, os.pardir)),
# Set to name of database in DATABASES dictionary to enable
# 'datastore',
'DATASTORE': '',
'DATASTORE': DATABASES.get(os.getenv('DEFAULT_BACKEND_DATASTORE'),''),
'PG_GEOGIG': False,
# 'CACHE': ".cache" # local cache file to for HTTP requests
'TIMEOUT': 10 # number of seconds to allow for HTTP requests
Expand Down

0 comments on commit 5694354

Please sign in to comment.