# Link report and account functionality to views from django.urls import path from rest_framework.urlpatterns import format_suffix_patterns from . import views urlpatterns = [ path('report', views.report), path('reports', views.reports), path('report/', views.report_detail), path('report//section/', views.section), ] urlpatterns = format_suffix_patterns(urlpatterns)