29 lines
733 B
Python
29 lines
733 B
Python
from django.urls import path
|
|
|
|
from . import autocomplete_views, views
|
|
|
|
app_name = "paperwork"
|
|
|
|
urlpatterns = [
|
|
path(
|
|
"certifications/by_uid/<str:uid>",
|
|
views.MemberCertificationListView.as_view(),
|
|
name="member_certifications",
|
|
),
|
|
path(
|
|
"certifications/departments/",
|
|
views.department_certifications,
|
|
name="department_certifications",
|
|
),
|
|
path(
|
|
"certifications/<str:cert_name>_Certification.pdf",
|
|
views.certification_pdf,
|
|
name="certification_pdf",
|
|
),
|
|
path(
|
|
"certifications/version_autocomplete",
|
|
autocomplete_views.CertificationVersionAutocomplete.as_view(),
|
|
name="certification_version_autocomplete",
|
|
),
|
|
]
|