Refactor code into fewer files, removing dynamic folders
This commit is contained in:
32
app/urls.py
32
app/urls.py
@@ -21,23 +21,9 @@ from django.views.generic import TemplateView
|
||||
|
||||
# Threshold API stuff
|
||||
from core.api.views.threshold import ThresholdChans, ThresholdOnline, ThresholdUsers
|
||||
|
||||
# Main tool pages
|
||||
from core.ui.views.drilldown import Drilldown
|
||||
from core.ui.views.insights import Insights
|
||||
from core.views import Billing, Cancel, Home, Order, Portal, Signup
|
||||
from core.views.callbacks import Callback
|
||||
|
||||
# Dynamic elements
|
||||
from core.views.dynamic.drilldown import DrilldownSearch, ThresholdInfoModal
|
||||
from core.views.dynamic.insights import (
|
||||
InsightsChannels,
|
||||
InsightsInfoModal,
|
||||
InsightsMeta,
|
||||
InsightsNicks,
|
||||
InsightsSearch,
|
||||
)
|
||||
from core.views.dynamic.manage.threshold.irc import (
|
||||
from core.views.manage.threshold.irc import (
|
||||
ThresholdIRCNetworkChannels,
|
||||
ThresholdIRCNetworkInfo,
|
||||
ThresholdIRCNetworkInfoEdit,
|
||||
@@ -47,7 +33,21 @@ from core.views.dynamic.manage.threshold.irc import (
|
||||
)
|
||||
|
||||
# Management stuff
|
||||
from core.views.manage.threshold import ThresholdIRCNetwork, ThresholdIRCOverview
|
||||
from core.views.manage.threshold.threshold import (
|
||||
ThresholdIRCNetwork,
|
||||
ThresholdIRCOverview,
|
||||
)
|
||||
|
||||
# Main tool pages
|
||||
from core.views.ui.drilldown import Drilldown, DrilldownSearch, ThresholdInfoModal
|
||||
from core.views.ui.insights import (
|
||||
Insights,
|
||||
InsightsChannels,
|
||||
InsightsInfoModal,
|
||||
InsightsMeta,
|
||||
InsightsNicks,
|
||||
InsightsSearch,
|
||||
)
|
||||
|
||||
urlpatterns = [
|
||||
path("", Home.as_view(), name="home"),
|
||||
|
||||
Reference in New Issue
Block a user