Skip to content

Commit

Permalink
set default uploader to geonode.importer
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmednoureldeen committed Jun 16, 2020
1 parent 78717fc commit d6720d4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cartoview/settings.py
Expand Up @@ -152,3 +152,5 @@
from .local_settings import * # noqa
except Exception as e:
print(e)
# default uploader.
os.environ.setdefault('DEFAULT_BACKEND_UPLOADER', 'geonode.importer')
1 change: 1 addition & 0 deletions env/django.env
Expand Up @@ -2,6 +2,7 @@ DATABASE_URL=postgis://docker:docker@postgis:5432/cartoview
DATASTORE_DATABASE_URL=postgis://docker:docker@postgis:5432/cartoview_datastore
GEOSERVER_PUBLIC_LOCATION=http://10.5.0.4/geoserver/
GEOSERVER_LOCATION=http://geoserver:8080/geoserver/
DEFAULT_BACKEND_UPLOADER=geonode.importer
SITEURL=http://10.5.0.4/
NGINX_LOCATION=http://nginx:80/
DOCKER=True
Expand Down

0 comments on commit d6720d4

Please sign in to comment.