Skip to content

Commit 132c9f6

Browse files
author
Marcel Wallschlaeger
committed
[Fixes #118] upgrade to GeoNode 4.3.1
1 parent 311ec83 commit 132c9f6

File tree

2 files changed

+6
-13
lines changed

2 files changed

+6
-13
lines changed

Dockerfile

+4-4
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ RUN chmod +x /usr/bin/celery-commands
2222
COPY celery-cmd /usr/bin/celery-cmd
2323
RUN chmod +x /usr/bin/celery-cmd
2424

25-
# Install "geonode-contribs" apps
26-
RUN cd /usr/src; git clone https://github.com/GeoNode/geonode-contribs.git -b master
27-
# Install logstash and centralized dashboard dependencies
28-
RUN cd /usr/src/geonode-contribs/ldap; pip install --upgrade -e .
25+
# # Install "geonode-contribs" apps
26+
# RUN cd /usr/src; git clone https://github.com/GeoNode/geonode-contribs.git -b master
27+
# # Install logstash and centralized dashboard dependencies
28+
# RUN cd /usr/src/geonode-contribs/ldap; pip install --upgrade -e .
2929

3030
RUN yes w | pip install --src /usr/src -r requirements.txt &&\
3131
yes w | pip install -e .

geonode/settings.py

+2-9
Original file line numberDiff line numberDiff line change
@@ -447,6 +447,7 @@
447447
# 'django_admin_bootstrapped.bootstrap3',
448448
# 'django_admin_bootstrapped',
449449
# Apps bundled with Django
450+
"importer_datapackage",
450451
"modeltranslation",
451452
"dal",
452453
"dal_select2",
@@ -2331,6 +2332,7 @@ def get_geonode_catalogue_service():
23312332
os.getenv(
23322333
"IMPORTER_HANDLERS",
23332334
"[\
2335+
'importer_datapackage.handlers.datapackage.handler.DataPackageFileHandler',\
23342336
'importer.handlers.gpkg.handler.GPKGFileHandler',\
23352337
'importer.handlers.geojson.handler.GeoJsonFileHandler',\
23362338
'importer.handlers.shapefile.handler.ShapeFileHandler',\
@@ -2364,12 +2366,3 @@ def get_geonode_catalogue_service():
23642366
AUTO_ASSIGN_REGISTERED_MEMBERS_TO_CONTRIBUTORS = ast.literal_eval(
23652367
os.getenv("AUTO_ASSIGN_REGISTERED_MEMBERS_TO_CONTRIBUTORS", "True")
23662368
)
2367-
2368-
IMPORTER_HANDLERS = (
2369-
"importer_datapackage.handlers.datapackage.handler.DataPackageFileHandler",
2370-
*IMPORTER_HANDLERS,
2371-
)
2372-
2373-
INSTALLED_APPS += (
2374-
"importer_datapackage",
2375-
)

0 commit comments

Comments
 (0)