add namespacing

This commit is contained in:
lauren 2020-10-27 10:59:49 -04:00
parent 18bc36ff23
commit 175faf9abe

View File

@ -5,7 +5,7 @@ from . import views
app_name = "courses" app_name = "courses"
urlpatterns = [ urlpatterns = [
path("subject/<str:subject_url>/", views.subject_view), path("subject/<str:subject_url>/", views.subject_view, name="subject_view"),
path("tag/<str:tag>/", views.tag_view, name="tag"), path("tag/<str:tag>/", views.tag_view, name="tag"),
path("course/<str:subject_url>/<str:course_url>/", views.course_view), path("course/<str:subject_url>/<str:course_url>/", views.course_view, name="course_view"),
] ]