Implement deleting relays

This commit is contained in:
2022-07-29 22:11:34 +01:00
parent 654c9960ba
commit 7b97c96be3
4 changed files with 51 additions and 6 deletions

View File

@@ -26,10 +26,11 @@ from core.views.callbacks import Callback
from core.views.manage.threshold.irc import (
ThresholdIRCAliases,
ThresholdIRCNetworkActions,
ThresholdIRCNetworkActionsAddRelay,
ThresholdIRCNetworkActionsRelay,
ThresholdIRCNetworkChannels,
ThresholdIRCNetworkInfo,
ThresholdIRCNetworkInfoEdit,
ThresholdIRCNetworkRelayDel,
ThresholdIRCNetworkRelays,
ThresholdIRCNetworkRelayStatus,
ThresholdIRCNetworks,
@@ -123,6 +124,11 @@ urlpatterns = [
ThresholdIRCNetworkRelays.as_view(),
name="threshold_irc_network_relays",
),
path(
"manage/threshold/irc/network/<str:net>/<int:num>/",
ThresholdIRCNetworkRelayDel.as_view(),
name="threshold_irc_network_relay_del",
),
path(
"manage/threshold/irc/network/<str:net>/<int:num>/<int:status>/",
ThresholdIRCNetworkRelayStatus.as_view(),
@@ -156,7 +162,7 @@ urlpatterns = [
),
path(
"manage/threshold/irc/network/actions/<str:net>/",
ThresholdIRCNetworkActionsAddRelay.as_view(),
ThresholdIRCNetworkActionsRelay.as_view(),
name="threshold_irc_network_actions_add_relay",
),
##