from django.urls import path from . import views urlpatterns = [ path('representative-roles/', views.RoleList.as_view()), path('representatives/', views.RepresentativeList.as_view()), ]