chat qo'shildi

This commit is contained in:
2026-04-02 20:50:00 +05:00
parent 878301605c
commit 8f54bdedc2
44 changed files with 1344 additions and 13 deletions

9
core/apps/chat/urls.py Normal file
View File

@@ -0,0 +1,9 @@
from django.urls import include, path
from rest_framework.routers import DefaultRouter
from .views import ChatmessageView, ChatRoomView
router = DefaultRouter()
router.register("rooms", ChatRoomView, basename="chat-rooms")
router.register("messages", ChatmessageView, basename="chat-messages")
urlpatterns = [path("", include(router.urls))]