Added urls for assignment details

parent bb2b54dd
...@@ -3,7 +3,8 @@ from django.urls import path ...@@ -3,7 +3,8 @@ from django.urls import path
from . import views from . import views
urlpatterns = [ urlpatterns = [
path('', views.index, name="index") path('', views.index, name="assignment-list"),
path('<int:pk>/details', views.detail, name="assignment-detail"),
] ]
app_name = "assignments" app_name = "assignments"
\ No newline at end of file
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