|
@ -1,11 +1,12 @@ |
|
|
from django.urls import path |
|
|
from django.urls import path |
|
|
|
|
|
|
|
|
from .views import ExternView, done, authorize, deny, InternView |
|
|
|
|
|
|
|
|
from .views import ExternView, done, authorize, deny, InternView, export |
|
|
|
|
|
|
|
|
urlpatterns = [ |
|
|
urlpatterns = [ |
|
|
path('', ExternView.as_view(), name='extern'), |
|
|
path('', ExternView.as_view(), name='extern'), |
|
|
path('intern', InternView.as_view(), name='intern'), |
|
|
path('intern', InternView.as_view(), name='intern'), |
|
|
path('saved', done, name='done'), |
|
|
path('saved', done, name='done'), |
|
|
|
|
|
path('export', export, name='export'), |
|
|
path('authorize/<str:choice>/<int:pk>', authorize, name='authorize'), |
|
|
path('authorize/<str:choice>/<int:pk>', authorize, name='authorize'), |
|
|
path('deny/<str:choice>/<int:pk>', deny, name='deny') |
|
|
path('deny/<str:choice>/<int:pk>', deny, name='deny') |
|
|
] |
|
|
] |