Skip to content

Commit bb67006

Browse files
committed
DataExplorer -> BaselineExplorer - HEA-454
1 parent 4a0ba80 commit bb67006

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

apps/common/views.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def get(self, request, asset_name, partition_name=None):
6161
raise Http404(f"Failed to locate or sign asset '{asset_name}': {str(e)}")
6262

6363

64-
class DataExplorerProxyView(ProxyView):
64+
class BaselineExplorerProxyView(ProxyView):
6565
"""
6666
A revproxy view to serve the data explorer assets via a cloudfront distribution.
6767
"""

hea/urls.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
WealthGroupViewSet,
5050
WildFoodGatheringViewSet,
5151
)
52-
from common.views import AssetDownloadView, DagsterProxyView, DataExplorerProxyView
52+
from common.views import AssetDownloadView, BaselineExplorerProxyView, DagsterProxyView
5353
from common.viewsets import (
5454
ClassifiedProductViewSet,
5555
CountryViewSet,
@@ -148,10 +148,10 @@
148148
name="asset_download_partitioned",
149149
),
150150
# Baseline Explorer React GUI using Django rev proxy to serve a cloudfront distro
151-
path("baseline-explorer/<path:path>", DataExplorerProxyView.as_view(), name="baseline_explorer"),
151+
path("baseline-explorer/<path:path>", BaselineExplorerProxyView.as_view(), name="baseline_explorer"),
152152
# The URL pattern below does not capture any path parameter from the URL. But django-revproxy views
153153
# require a path argument. We manually pass a default: {"path": ""}.
154-
path("baseline-explorer/", DataExplorerProxyView.as_view(), {"path": ""}, name="baseline_explorer"),
154+
path("baseline-explorer/", BaselineExplorerProxyView.as_view(), {"path": ""}, name="baseline_explorer"),
155155
]
156156

157157

0 commit comments

Comments
 (0)