Combine homepage and search into one class

This commit is contained in:
2022-08-10 07:36:26 +01:00
parent 56f2c96b45
commit c1071f3d55
3 changed files with 19 additions and 23 deletions

View File

@@ -51,11 +51,7 @@ from core.views.manage.threshold.threshold import (
)
# Main tool pages
from core.views.ui.drilldown import ( # DrilldownTableView,
Drilldown,
DrilldownSearch,
ThresholdInfoModal,
)
from core.views.ui.drilldown import Drilldown, ThresholdInfoModal # DrilldownTableView,
from core.views.ui.insights import (
Insights,
InsightsChannels,
@@ -85,9 +81,8 @@ urlpatterns = [
path("accounts/", include("django.contrib.auth.urls")),
path("accounts/signup/", Signup.as_view(), name="signup"),
##
path("ui/drilldown/", Drilldown.as_view(), name="drilldown"),
path("ui/drilldown/modal/", ThresholdInfoModal.as_view(), name="modal_drilldown"),
path("ui/drilldown/search/", DrilldownSearch.as_view(), name="search_drilldown"),
# path("drilldown/", Drilldown.as_view(), name="drilldown"),
path("modal/", ThresholdInfoModal.as_view(), name="modal_drilldown"),
##
path("ui/insights/", Insights.as_view(), name="insights"),
path("ui/insights/search/", InsightsSearch.as_view(), name="search_insights"),