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