diff --git a/src/project_name/urls.py b/src/project_name/urls.py index 95be19c9..33f20de0 100644 --- a/src/project_name/urls.py +++ b/src/project_name/urls.py @@ -18,7 +18,10 @@ # ######################################################################### -from geonode.urls import urlpatterns +# Do not remove handler500 import. It is required to re-export +# the custom error page handler for the GeoNode project +# related issue: https://github.com/GeoNode/geonode-project/issues/570 +from geonode.urls import urlpatterns, handler500 # noqa """ # You can register your own urlpatterns here