Implement joining and parting channels
This commit is contained in:
17
app/urls.py
17
app/urls.py
@@ -28,6 +28,7 @@ from core.views.manage.threshold.irc import (
|
||||
ThresholdIRCNetworkInfo,
|
||||
ThresholdIRCNetworkInfoEdit,
|
||||
ThresholdIRCNetworkRelays,
|
||||
ThresholdIRCNetworkRelayStatus,
|
||||
ThresholdIRCNetworks,
|
||||
ThresholdIRCStats,
|
||||
)
|
||||
@@ -119,11 +120,27 @@ urlpatterns = [
|
||||
ThresholdIRCNetworkRelays.as_view(),
|
||||
name="threshold_irc_network_relays",
|
||||
),
|
||||
path(
|
||||
"manage/threshold/irc/network/<str:net>/<int:num>/<int:status>/",
|
||||
ThresholdIRCNetworkRelayStatus.as_view(),
|
||||
name="threshold_irc_network_relay_status",
|
||||
),
|
||||
path(
|
||||
"manage/threshold/irc/network/<str:net>/channels/",
|
||||
ThresholdIRCNetworkChannels.as_view(),
|
||||
name="threshold_irc_network_channels",
|
||||
),
|
||||
path(
|
||||
"manage/threshold/irc/network/<str:net>/channel/<channel>/",
|
||||
ThresholdIRCNetworkChannels.as_view(),
|
||||
name="threshold_irc_network_channel",
|
||||
),
|
||||
# No channel argument as we're gonna do a form
|
||||
path(
|
||||
"manage/threshold/irc/network/<str:net>/channel/",
|
||||
ThresholdIRCNetworkChannels.as_view(),
|
||||
name="threshold_irc_network_channel",
|
||||
),
|
||||
##
|
||||
path("api/chans/", ThresholdChans.as_view(), name="chans"),
|
||||
path("api/users/", ThresholdUsers.as_view(), name="users"),
|
||||
|
||||
Reference in New Issue
Block a user