<filename>parkings/api/operator/urls.py
from rest_framework.routers import DefaultRouter

from ..url_utils import versioned_url
from .parking import OperatorAPIParkingViewSet

router = DefaultRouter()
router.register(r'parking', OperatorAPIParkingViewSet)

app_name = 'operator'
urlpatterns = [
    versioned_url('v1', router.urls),
]

<filename>parkings/api/operator/urls.py
from rest_framework.routers import DefaultRouter

from ..url_utils import versioned_url
from .parking import OperatorAPIParkingViewSet

router = DefaultRouter()
router.register(r'parking', OperatorAPIParkingViewSet)

app_name = 'operator'
urlpatterns = [
    versioned_url('v1', router.urls),
]
