You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
688 B

2 years ago
2 years ago
2 years ago
2 years ago
  1. from django.urls import path
  2. from .views import (
  3. CategoryTypeDistribution,
  4. MemberProgressAPI,
  5. ProgressAPI,
  6. RelationTypeDistribution,
  7. SpanTypeDistribution,
  8. )
  9. urlpatterns = [
  10. path(route="progress", view=ProgressAPI.as_view(), name="progress"),
  11. path(route="member-progress", view=MemberProgressAPI.as_view(), name="member_progress"),
  12. path(route="category-distribution", view=CategoryTypeDistribution.as_view(), name="category_distribution"),
  13. path(route="relation-distribution", view=RelationTypeDistribution.as_view(), name="relation_distribution"),
  14. path(route="span-distribution", view=SpanTypeDistribution.as_view(), name="span_distribution"),
  15. ]