Commit aec9c765 authored by Jonathan Talbot's avatar Jonathan Talbot

Merge branch 'assignments' into 'main'

added assignments path

See merge request !3
parents 2f54bd56 6ac81709
......@@ -15,11 +15,12 @@ Including another URLconf
"""
from django.contrib import admin
from django.urls import path
from .views import homepage, forum
from .views import homepage, forum, announcements, assignments
urlpatterns = [
path('admin/', admin.site.urls),
path('', homepage, name='homepage'),
path('announcements/', announcements, name='Announcement Board')
path('forum/', forum, name='forum'),
path('assignments/', assignments, name='assignments'),
path('announcements/', announcements, name='Announcement Board'),
path('forum/', forum, name='forum')
]
......@@ -3,6 +3,9 @@ from django.http import HttpResponse
def homepage(request):
return HttpResponse('Welcome to Widget!')
def assignments(request):
return HttpResponse('This is the Assignments page!')
def announcements(request):
return HttpResponse('This is the 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