Commit 82ca68ad authored by Lance Cedric Tan's avatar Lance Cedric Tan

Added app to settings and urls

parent 6ef1f370
widget_CtrlF/.DS_Store
No preview for this file type
from django.urls import path
from .views import index
urlpatterns = [
path('', index, name='index'),
]
app_name = "forum"
\ No newline at end of file
......@@ -43,6 +43,7 @@ INSTALLED_APPS = [
'django.contrib.staticfiles',
'dashboard',
'announcement_board',
'forum',
]
MIDDLEWARE = [
......
......@@ -14,11 +14,11 @@ Including another URLconf
2. Add a URL to urlpatterns: path('blog/', include('blog.urls'))
"""
from django.contrib import admin
from django.urls import include, path
from django.urls import path, include
urlpatterns = [
path('dashboard/', include('dashboard.urls', namespace="dashboard")),
path('admin/', admin.site.urls),
path('announcement_board/', include('announcement_board.urls', namespace='announcement_board')),
path('dashboard/', include('dashboard.urls', namespace="dashboard")),
path('forum/', include('forum.urls', namespace="forum")),
]
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