You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
392 B

4 years ago
4 years ago
4 years ago
  1. from django.urls import path
  2. from .views import ExternView, done, authorize, deny, InternView
  3. urlpatterns = [
  4. path('', ExternView.as_view(), name='extern'),
  5. path('intern', InternView.as_view(), name='intern'),
  6. path('saved', done, name='done'),
  7. path('authorize/<str:choice>/<int:pk>', authorize, name='authorize'),
  8. path('deny/<str:choice>/<int:pk>', deny, name='deny')
  9. ]