2019-01-20 08:24:39 +00:00
|
|
|
# Rupika Dikkala
|
|
|
|
# January 19, 2019
|
2019-01-20 19:58:30 +00:00
|
|
|
# Add urls and link to the
|
|
|
|
# views
|
2019-01-20 06:29:25 +00:00
|
|
|
|
2019-01-20 08:24:39 +00:00
|
|
|
from django.urls import path
|
2019-01-20 06:29:25 +00:00
|
|
|
from . import views
|
|
|
|
|
|
|
|
urlpatterns = [
|
2019-01-23 21:40:37 +00:00
|
|
|
path('', views.List.as_view()),
|
|
|
|
path('<int:pk>/', views.Detail.as_view()),
|
|
|
|
|
2019-01-20 19:58:30 +00:00
|
|
|
path('create_report/', views.create_report),
|
|
|
|
path('delete_report/', views.delete_report),
|
|
|
|
path('get_report/', views.get_report),
|
|
|
|
path('list_report/', views.list_report),
|
|
|
|
path('update_report/', views.update_report),
|
|
|
|
path('submit_report/', views.submit_report),
|
|
|
|
path('update_section/', views.update_section),
|
|
|
|
path('create_account/', views.create_account),
|
|
|
|
path('login/', views.login),
|
|
|
|
path('logout/', views.logout),
|
2019-01-20 06:29:25 +00:00
|
|
|
]
|