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.

16 lines
675 B

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