Commit bd6a82fe authored by Jayson Lim's avatar Jayson Lim

Implemented announcementBoard app and both its URL site-wide and In-App...

Implemented announcementBoard app and both its URL site-wide and In-App configurations with a view placeholder
parent 6483d823
from django.urls import path
from .views import index
urlpatterns = [
path('', index, name='index'),
]
app_name = "announcementBoard"
\ No newline at end of file
from django.shortcuts import render
from django.http import HttpResponse
# Create your views here.
def index(request):
return HttpResponse('placeholder')
......@@ -41,6 +41,7 @@ INSTALLED_APPS = [
'django.contrib.messages',
'django.contrib.staticfiles',
'dashboard',
'announcementBoard',
]
MIDDLEWARE = [
......
......@@ -19,4 +19,5 @@ from django.urls import include, path
urlpatterns = [
path('admin/', admin.site.urls),
path('dashboard/', include('dashboard.urls', namespace="dashboard")),
path('announcementBoard/', include('announcementBoard.urls', namespace="announcementBoard")),
]
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