from django.urls import path from . import views urlpatterns = [ path("test", views.TestPDFView.as_view(), name="test_pdf"), ]