<reponame>django-doctor/lite-api
from django.urls import path

from api.teams import views

app_name = "teams"

urlpatterns = [
    path("", views.TeamList.as_view(), name="teams"),
    path("<uuid:pk>/", views.TeamDetail.as_view(), name="team"),
    path("<uuid:pk>/users/", views.UsersByTeamsList.as_view(), name="team_users"),
    path("<uuid:pk>/queues/", views.TeamQueuesList.as_view(), name="team_queues"),
]

from django.urls import path

from api.teams import views

app_name = "teams"

urlpatterns = [
    path("", views.TeamList.as_view(), name="teams"),
    path("<uuid:pk>/", views.TeamDetail.as_view(), name="team"),
    path("<uuid:pk>/users/", views.UsersByTeamsList.as_view(), name="team_users"),
    path("<uuid:pk>/queues/", views.TeamQueuesList.as_view(), name="team_queues"),
]