Added urls for assignment details

parent bb2b54dd
......@@ -3,7 +3,8 @@ from django.urls import path
from . import views
urlpatterns = [
path('', views.index, name="index")
path('', views.index, name="assignment-list"),
path('<int:pk>/details', views.detail, name="assignment-detail"),
]
app_name = "assignments"
\ No newline at end of file
app_name = "assignments"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment