Fix insights
This commit is contained in:
49
app/urls.py
49
app/urls.py
@@ -64,15 +64,14 @@ from core.views.ui.drilldown import ( # DrilldownTableView,; Drilldown,
|
||||
DrilldownTableView,
|
||||
ThresholdInfoModal,
|
||||
)
|
||||
|
||||
# from core.views.ui.insights import (
|
||||
# Insights,
|
||||
# InsightsChannels,
|
||||
# InsightsInfoModal,
|
||||
# InsightsMeta,
|
||||
# InsightsNicks,
|
||||
# InsightsSearch,
|
||||
# )
|
||||
from core.views.ui.insights import (
|
||||
Insights,
|
||||
InsightsChannels,
|
||||
InsightsInfoModal,
|
||||
InsightsMeta,
|
||||
InsightsNicks,
|
||||
InsightsSearch,
|
||||
)
|
||||
|
||||
urlpatterns = [
|
||||
path("__debug__/", include("debug_toolbar.urls")),
|
||||
@@ -103,12 +102,32 @@ urlpatterns = [
|
||||
path("context/", DrilldownContextModal.as_view(), name="modal_context"),
|
||||
path("context_table/", DrilldownContextModal.as_view(), name="modal_context_table"),
|
||||
##
|
||||
# path("ui/insights/", Insights.as_view(), name="insights"),
|
||||
# path("ui/insights/search/", InsightsSearch.as_view(), name="search_insights"),
|
||||
# path("ui/insights/channels/", InsightsChannels.as_view(), name="chans_insights"),
|
||||
# path("ui/insights/nicks/", InsightsNicks.as_view(), name="nicks_insights"),
|
||||
# path("ui/insights/meta/", InsightsMeta.as_view(), name="meta_insights"),
|
||||
# path("ui/insights/modal/", InsightsInfoModal.as_view(), name="modal_insights"),
|
||||
path("ui/insights/index/<str:index>/", Insights.as_view(), name="insights"),
|
||||
path(
|
||||
"ui/insights/index/<str:index>/search/",
|
||||
InsightsSearch.as_view(),
|
||||
name="search_insights",
|
||||
),
|
||||
path(
|
||||
"ui/insights/index/<str:index>/channels/",
|
||||
InsightsChannels.as_view(),
|
||||
name="chans_insights",
|
||||
),
|
||||
path(
|
||||
"ui/insights/index/<str:index>/nicks/",
|
||||
InsightsNicks.as_view(),
|
||||
name="nicks_insights",
|
||||
),
|
||||
path(
|
||||
"ui/insights/index/<str:index>/meta/",
|
||||
InsightsMeta.as_view(),
|
||||
name="meta_insights",
|
||||
),
|
||||
path(
|
||||
"ui/insights/index/<str:index>/modal/",
|
||||
InsightsInfoModal.as_view(),
|
||||
name="modal_insights",
|
||||
),
|
||||
##
|
||||
path(
|
||||
"manage/threshold/irc/overview/",
|
||||
|
||||
Reference in New Issue
Block a user