Commit 4cc40989 authored by justin's avatar justin

Minor urls.py changes to be consistent with each other

parent a6724208
......@@ -2,5 +2,8 @@ from django.urls import path
from . import views
urlpatterns = [
path('', views.announcements, name="announcements"),
]
\ No newline at end of file
path("", views.announcements, name="announcements"),
]
app_name = "announcement_board"
......@@ -4,3 +4,5 @@ from . import views
urlpatterns = [
path("", views.assignments, name="assignments"),
]
app_name = "assignments"
......@@ -5,3 +5,6 @@ from . import views
urlpatterns = [
path("", views.dashboard, name="dashboard"),
]
app_name = "dashboard"
......@@ -5,3 +5,6 @@ from . import views
urlpatterns = [
path("", views.forum, name="index"),
]
app_name = "forum"
......@@ -18,9 +18,12 @@ from django.urls import path, include
urlpatterns = [
path("admin/", admin.site.urls),
path("dashboard/", include("dashboard.urls")),
path("dashboard/", include("dashboard.urls", namespace="dashboard")),
path("calendar/", include("calendar_app.urls", namespace="calendar_app")),
path("forum/", include("forum.urls")),
path("assignments/", include("assignments.urls")),
path("announcements/", include("announcement_board.urls")),
path("forum/", include("forum.urls", namespace="forum")),
path("assignments/", include("assignments.urls", namespace="assignments")),
path(
"announcements/",
include("announcement_board.urls", namespace="announcement_board"),
),
]
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