reimbursinator/back/backend/urls.py

16 lines
506 B
Python
Raw Normal View History

# Link report and account functionality to views
2019-01-20 06:29:25 +00:00
from django.urls import path
from rest_framework.urlpatterns import format_suffix_patterns
2019-01-20 06:29:25 +00:00
from . import views
urlpatterns = [
path('report', views.create_report),
path('reports', views.reports),
path('report/<int:report_pk>', views.report_detail),
path('report/<int:report_pk>/final', views.finalize_report),
path('report/<int:report_pk>/section/<int:section_pk>', views.section),
2019-01-20 06:29:25 +00:00
]
urlpatterns = format_suffix_patterns(urlpatterns)