Implement adding relays by number
This commit is contained in:
10
app/urls.py
10
app/urls.py
@@ -24,6 +24,9 @@ from core.api.views.threshold import ThresholdChans, ThresholdOnline, ThresholdU
|
||||
from core.views import Billing, Cancel, Home, Order, Portal, Signup
|
||||
from core.views.callbacks import Callback
|
||||
from core.views.manage.threshold.irc import (
|
||||
ThresholdIRCAliases,
|
||||
ThresholdIRCNetworkActions,
|
||||
ThresholdIRCNetworkActionsAddRelay,
|
||||
ThresholdIRCNetworkChannels,
|
||||
ThresholdIRCNetworkInfo,
|
||||
ThresholdIRCNetworkInfoEdit,
|
||||
@@ -31,8 +34,6 @@ from core.views.manage.threshold.irc import (
|
||||
ThresholdIRCNetworkRelayStatus,
|
||||
ThresholdIRCNetworks,
|
||||
ThresholdIRCStats,
|
||||
ThresholdIRCAliases,
|
||||
ThresholdIRCNetworkActions,
|
||||
)
|
||||
|
||||
# Management stuff
|
||||
@@ -153,6 +154,11 @@ urlpatterns = [
|
||||
ThresholdIRCNetworkActions.as_view(),
|
||||
name="threshold_irc_network_actions",
|
||||
),
|
||||
path(
|
||||
"manage/threshold/irc/network/actions/<str:net>/",
|
||||
ThresholdIRCNetworkActionsAddRelay.as_view(),
|
||||
name="threshold_irc_network_actions_add_relay",
|
||||
),
|
||||
##
|
||||
path("api/chans/", ThresholdChans.as_view(), name="chans"),
|
||||
path("api/users/", ThresholdUsers.as_view(), name="users"),
|
||||
|
||||
Reference in New Issue
Block a user