from django.urls import path, include
from rest_framework.routers import DefaultRouter

from rooms.views import RoomViewSet, AvailableRoomViewSet

router = DefaultRouter()
router.register(r'all', RoomViewSet)
router.register(r'available', AvailableRoomViewSet)

urlpatterns = [
    path('', include(router.urls))
]

e589d109213be43c75d8d952c4b7450af2870594
<mask token>

<mask token>
router.register('all', RoomViewSet)
router.register('available', AvailableRoomViewSet)
<mask token>

<mask token>
router = DefaultRouter()
router.register('all', RoomViewSet)
router.register('available', AvailableRoomViewSet)
urlpatterns = [path('', include(router.urls))]

from django.urls import path, include
from rest_framework.routers import DefaultRouter
from rooms.views import RoomViewSet, AvailableRoomViewSet
router = DefaultRouter()
router.register('all', RoomViewSet)
router.register('available', AvailableRoomViewSet)
urlpatterns = [path('', include(router.urls))]

from django.urls import path, include
from rest_framework.routers import DefaultRouter

from rooms.views import RoomViewSet, AvailableRoomViewSet

router = DefaultRouter()
router.register(r'all', RoomViewSet)
router.register(r'available', AvailableRoomViewSet)

urlpatterns = [
    path('', include(router.urls))
]
