Commit fb3c7e57 authored by KaoruSawade's avatar KaoruSawade

edited project urls.py and dashboard urls.py: changed the paths for dashboard urls to reflect specs

parent 4be4172e
...@@ -4,7 +4,7 @@ from .views import WidgetUserDetailView ...@@ -4,7 +4,7 @@ from .views import WidgetUserDetailView
from .views import pageview from .views import pageview
urlpatterns = [ urlpatterns = [
path('', pageview, name='pageview'), path('dashboard/', pageview, name='pageview'),
path('widgetusers/<int:pk>/details', WidgetUserDetailView.as_view(), name='widgetuser-details'), path('widgetusers/<int:pk>/details', WidgetUserDetailView.as_view(), name='widgetuser-details'),
] ]
......
...@@ -2,7 +2,7 @@ from django.contrib import admin ...@@ -2,7 +2,7 @@ from django.contrib import admin
from django.urls import include, path from django.urls import include, path
urlpatterns = [ urlpatterns = [
path('dashboard/', include('dashboard.urls', namespace="dashboard")), path('', include('dashboard.urls', namespace="dashboard")),
path('announcements/', include('announcements.urls', namespace="announcements")), path('announcements/', include('announcements.urls', namespace="announcements")),
path('forum/', include('forum.urls', namespace="forum")), path('forum/', include('forum.urls', namespace="forum")),
path('assignments/', include('assignments.urls', namespace="assignments")), path('assignments/', include('assignments.urls', namespace="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