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.
10 lines
345 B
10 lines
345 B
from django.conf.urls import url
|
|
|
|
from course_service.courses import views as views
|
|
|
|
urlpatterns = [
|
|
url(r'detail/([0-9]{1,99})/$', views.CourseDetailView.as_view()),
|
|
url(r'vertex/([0-9]{1,99})/$', views.VertexDetail.as_view()),
|
|
url(r'tree/(?P<slug>.+)/$', views.TreeView.as_view()),
|
|
url(r'^$', views.CourseListView.as_view()),
|
|
] |