13 lines
335 B
Python
13 lines
335 B
Python
from django.urls import path
|
|
|
|
from .public import InstructorDetailView, InstructorListView
|
|
|
|
urlpatterns = [
|
|
path("instructors/", InstructorListView.as_view(), name="public-instructors"),
|
|
path(
|
|
"instructors/<int:instructor_id>/",
|
|
InstructorDetailView.as_view(),
|
|
name="public-instructor-detail",
|
|
),
|
|
]
|