Commit 2f54bd56 authored by Jonathan Talbot's avatar Jonathan Talbot

Merge branch 'AnnouncementBoard' into 'main'

Announcement board

See merge request !2
parents 973a354c 7219548d
......@@ -19,6 +19,7 @@ from .views import homepage, forum
urlpatterns = [
path('admin/', admin.site.urls),
path('homepage/', homepage, name='homepage'),
path('', homepage, name='homepage'),
path('announcements/', announcements, name='Announcement Board')
path('forum/', forum, name='forum'),
]
......@@ -3,5 +3,8 @@ from django.http import HttpResponse
def homepage(request):
return HttpResponse('Welcome to Widget!')
def announcements(request):
return HttpResponse('This is the Announcement Board!')
def forum(request):
return HttpResponse('Welcome to Widget’s Forum!')
\ No newline at end of file
return HttpResponse('Welcome to Widget’s 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