30 lines
746 B
Python
30 lines
746 B
Python
from django.urls import path
|
|
|
|
from . import views
|
|
from . import autocomplete_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",
|
|
),
|
|
]
|