Files
django-discord/chat/urls.py
T
biggy 88bdfc797b feat(voice): add WebRTC voice channels with Cloudflare TURN support
Add voice channel functionality with WebRTC peer-to-peer audio:
- Add VoiceSignalingConsumer for WebRTC signaling and peer coordination
- Add GlobalConsumer for real-time presence and voice status updates
- Add voice channel type to Channel model with current_voice_channel tracking on UserProfile
- Add voice controls UI (mute, deafen, disconnect) in status panel
- Add voice member list display in sidebar with avatar support
- Add
2026-05-23 20:56:37 +02:00

19 lines
992 B
Python

from django.urls import path
from chat import views
urlpatterns = [
path('', views.home_view, name='home'),
path('register/', views.register_view, name='register'),
path('login/', views.login_view, name='login'),
path('logout/', views.logout_view, name='logout'),
path('channel/create/', views.create_channel_view, name='create_channel'),
path('channel/<int:channel_id>/', views.channel_view, name='channel'),
path('channel/<int:channel_id>/delete/', views.delete_channel_view, name='delete_channel'),
path('dm/<str:username>/', views.dm_view, name='dm'),
path('profile/', views.profile_view, name='profile'),
path('admin-panel/', views.admin_panel_view, name='admin_panel'),
path('message/<int:message_id>/delete/', views.delete_message_view, name='delete_message'),
path('user/<int:user_id>/block/', views.block_user_view, name='block_user'),
path('channel/voice/credentials/', views.voice_credentials_view, name='voice_credentials'),
]