from django.urls import path, include
from . import views
from rest_framework import routers
from .api import (
    SocViewSet,
    BlsOesViewSet,
    StateViewSet,
    OccupationTransitionsViewSetFive,
)

router = routers.DefaultRouter()
router.register("transitions", OccupationTransitionsViewSetFive)
# router.register(r'transitions/(?P<soc>\d+)', OccupationTransitionsViewSet, basename='trans')
router.register("soc-codes", BlsOesViewSet)
router.register(r"state", StateViewSet, basename="abbr")
# router.register(r'state(?P<state_abb>.+)/$', StateViewSet, basename='state-name')

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

b7441bb4b5172926901a431cf78885cd3cef516c
<mask token>

<mask token>
router.register('transitions', OccupationTransitionsViewSetFive)
router.register('soc-codes', BlsOesViewSet)
router.register('state', StateViewSet, basename='abbr')
<mask token>

<mask token>
router = routers.DefaultRouter()
router.register('transitions', OccupationTransitionsViewSetFive)
router.register('soc-codes', BlsOesViewSet)
router.register('state', StateViewSet, basename='abbr')
urlpatterns = [path('', include(router.urls))]

from django.urls import path, include
from . import views
from rest_framework import routers
from .api import SocViewSet, BlsOesViewSet, StateViewSet, OccupationTransitionsViewSetFive
router = routers.DefaultRouter()
router.register('transitions', OccupationTransitionsViewSetFive)
router.register('soc-codes', BlsOesViewSet)
router.register('state', StateViewSet, basename='abbr')
urlpatterns = [path('', include(router.urls))]

from django.urls import path, include
from . import views
from rest_framework import routers
from .api import (
    SocViewSet,
    BlsOesViewSet,
    StateViewSet,
    OccupationTransitionsViewSetFive,
)

router = routers.DefaultRouter()
router.register("transitions", OccupationTransitionsViewSetFive)
# router.register(r'transitions/(?P<soc>\d+)', OccupationTransitionsViewSet, basename='trans')
router.register("soc-codes", BlsOesViewSet)
router.register(r"state", StateViewSet, basename="abbr")
# router.register(r'state(?P<state_abb>.+)/$', StateViewSet, basename='state-name')

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