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.
9 lines
396 B
9 lines
396 B
from django.urls import path |
|
from .views import main_view, course_detail_view, export_csv, export_pdf |
|
|
|
urlpatterns = [ |
|
path('', main_view, name='main'), |
|
path('course/<int:course_id>/', course_detail_view, name='course_detail'), |
|
path('course/<int:course_id>/export_csv/', export_csv, name='export_csv'), |
|
path('course/<int:course_id>/export_pdf/', export_pdf, name='export_pdf'), |
|
]
|
|
|