from rest_framework.routers import DefaultRouter

from chat.views import ChatViewSet

chats_router = DefaultRouter()
chats_router.register(r'', ChatViewSet, basename='chats')

urlpatterns = chats_router.urls

from rest_framework.routers import DefaultRouter

from chat.views import ChatViewSet

chats_router = DefaultRouter()
chats_router.register(r'', ChatViewSet, basename='chats')

urlpatterns = chats_router.urls
