2020-09-22 12:21:05 +02:00
|
|
|
from django.urls import path
|
2024-01-07 15:13:21 +01:00
|
|
|
from .views import ExternView, index, done, authorize, deny, InternView, export
|
2023-10-25 15:45:17 +02:00
|
|
|
from django.contrib import admin
|
2023-02-27 18:09:29 +01:00
|
|
|
|
2020-09-22 12:21:05 +02:00
|
|
|
urlpatterns = [
|
2024-01-07 15:13:21 +01:00
|
|
|
path('', index, name='index'),
|
|
|
|
path('extern', ExternView.as_view(), name='extern'),
|
2023-02-27 18:09:29 +01:00
|
|
|
# path('intern', InternView.as_view(), name='intern'),
|
2023-10-25 15:45:17 +02:00
|
|
|
path('admin/', admin.site.urls),
|
2020-10-20 08:06:36 +02:00
|
|
|
path('saved', done, name='done'),
|
2020-11-19 15:55:10 +01:00
|
|
|
path('export', export, name='export'),
|
2020-10-20 08:29:51 +02:00
|
|
|
path('authorize/<str:choice>/<int:pk>', authorize, name='authorize'),
|
2023-02-27 18:09:29 +01:00
|
|
|
path('deny/<str:choice>/<int:pk>', deny, name='deny'),
|
2020-09-22 12:21:05 +02:00
|
|
|
]
|