Commit 248f68aa authored by Katrina Bernice Tan's avatar Katrina Bernice Tan

Fixed assignments/urls.py for individual assignments

parent 4dd4782f
...@@ -5,7 +5,7 @@ from .views import MainView, AssignmentListView, AssignmentDetailView ...@@ -5,7 +5,7 @@ from .views import MainView, AssignmentListView, AssignmentDetailView
urlpatterns = [ urlpatterns = [
path('', MainView.as_view(), name='assignments'), path('', MainView.as_view(), name='assignments'),
path('assignments', AssignmentListView.as_view(), name='assignment-list'), path('assignments', AssignmentListView.as_view(), name='assignment-list'),
path('assignment/<int:pk>/details', AssignmentDetailView.as_view(), name ='assignment-detail'), path('/<int:pk>/details', AssignmentDetailView.as_view(), 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