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.

26 lines
645 B

  1. from django.urls import path
  2. from .views import ProgressAPI, MemberProgressAPI, CategoryTypeDistribution, SpanTypeDistribution
  3. urlpatterns = [
  4. path(
  5. route='progress',
  6. view=ProgressAPI.as_view(),
  7. name='progress'
  8. ),
  9. path(
  10. route='member-progress',
  11. view=MemberProgressAPI.as_view(),
  12. name='member_progress'
  13. ),
  14. path(
  15. route='category-distribution',
  16. view=CategoryTypeDistribution.as_view(),
  17. name='category_distribution'
  18. ),
  19. path(
  20. route='span-distribution',
  21. view=SpanTypeDistribution.as_view(),
  22. name='span_distribution'
  23. ),
  24. ]