operations_project/apps/chat/urls.py

12 lines
301 B
Python
Raw Permalink Normal View History

2025-05-07 22:24:02 +08:00
# apps/chat/urls.py
from django.urls import path, include
from rest_framework.routers import DefaultRouter
from apps.chat.views import ChatHistoryViewSet
router = DefaultRouter()
router.register(r'', ChatHistoryViewSet, basename='chat-history')
urlpatterns = [
path('', include(router.urls)),
]