from rest_framework.routers import SimpleRouter
from fleets.viewsets import FleetViewSet, FleetDetailViewSet
router = SimpleRouter()
router.register('fleets', FleetViewSet)
router.register('fleet-detail', FleetDetailViewSet)
urlpatterns = router.urls

e98817ab1d953a1fbffbd332206e8452b8797bcf
<mask token>

<mask token>
router.register('fleets', FleetViewSet)
router.register('fleet-detail', FleetDetailViewSet)
<mask token>

<mask token>
router = SimpleRouter()
router.register('fleets', FleetViewSet)
router.register('fleet-detail', FleetDetailViewSet)
urlpatterns = router.urls

from rest_framework.routers import SimpleRouter
from fleets.viewsets import FleetViewSet, FleetDetailViewSet
router = SimpleRouter()
router.register('fleets', FleetViewSet)
router.register('fleet-detail', FleetDetailViewSet)
urlpatterns = router.urls
