21 lines
No EOL
654 B
Python
21 lines
No EOL
654 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('print', views.get_reports),
|
|
# path('print', views.get_sections),
|
|
|
|
|
|
# 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),
|
|
# path('account', views.account),
|
|
# path('account/login', views.account_login),
|
|
# path('account/logout', views.account_logout),
|
|
]
|
|
|
|
urlpatterns = format_suffix_patterns(urlpatterns) |