text: from django.urls import path
  
  from chattenge.chatrooms.views import (
      chatroom_list_view,
      chatroom_view,
  )
  
  from chattenge.chatrooms.rest import (
      join_chatroom_view,
      leave_chatroom_view,
      send_message_view
  )
  
  app_name = "chatrooms"
  urlpatterns = [
      path("all", view=chatroom_list_view, name="list"),
      path("<pk>", view=chatroom_view, name="details"),
      path("<pk>/join", view=join_chatroom_view, name="join"),
      path("<pk>/leave", view=leave_chatroom_view, name="leave"),
      path("<pk>/message", view=send_message_view, name="message"),
  ]
  