from django.urls import path from .views import LessonPDFView urlpatterns = [ path('detail', LessonPDFView.as_view(), name='pdf-view') ]