from django.urls import path from .views import ProgressAPI, MemberProgressAPI, CategoryTypeDistribution, SpanTypeDistribution urlpatterns = [ path(route="progress", view=ProgressAPI.as_view(), name="progress"), path(route="member-progress", view=MemberProgressAPI.as_view(), name="member_progress"), path(route="category-distribution", view=CategoryTypeDistribution.as_view(), name="category_distribution"), path(route="span-distribution", view=SpanTypeDistribution.as_view(), name="span_distribution"), ]