2019-01-27 22:22:42 +00:00
|
|
|
# Link report and account functionality to views
|
2019-01-20 06:29:25 +00:00
|
|
|
|
2019-01-20 08:24:39 +00:00
|
|
|
from django.urls import path
|
2019-01-27 22:22:42 +00:00
|
|
|
from rest_framework.urlpatterns import format_suffix_patterns
|
2019-01-20 06:29:25 +00:00
|
|
|
from . import views
|
|
|
|
|
|
|
|
urlpatterns = [
|
2019-03-03 22:46:12 +00:00
|
|
|
path('report', views.create_report),
|
2019-02-04 17:51:36 +00:00
|
|
|
path('reports', views.reports),
|
|
|
|
path('report/<int:report_pk>', views.report_detail),
|
2019-03-03 20:59:26 +00:00
|
|
|
path('report/<int:report_pk>/final', views.finalize_report),
|
2019-03-09 20:59:19 +00:00
|
|
|
path('section/<int:section_pk>', views.section),
|
2019-01-20 06:29:25 +00:00
|
|
|
]
|
2019-01-27 22:22:42 +00:00
|
|
|
|
2019-02-04 00:56:34 +00:00
|
|
|
urlpatterns = format_suffix_patterns(urlpatterns)
|