from django.urls import path from plane.api.views import StateAPIEndpoint urlpatterns = [ path( "workspaces//projects//states/", StateAPIEndpoint.as_view(), name="states", ), path( "workspaces//projects//states//", StateAPIEndpoint.as_view(), name="states", ), ]