17 lines
514 B
Python
17 lines
514 B
Python
# 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('', views.List.as_view()),
|
|
#path('<int:pk>/', views.Detail.as_view()),
|
|
|
|
path('report', views.report),
|
|
path('reports', views.reports),
|
|
path('report/<int:report_pk>', views.report_detail),
|
|
path('report/<int:report_pk>/section/<int:section_pk>', views.section),
|
|
]
|
|
|
|
urlpatterns = format_suffix_patterns(urlpatterns)
|