Commit 78154714 authored by Joshua de Vera's avatar Joshua de Vera

Announcement Board

Announcement Board Changes - Josh
parent c183186a
...@@ -19,5 +19,6 @@ from .views import homepage ...@@ -19,5 +19,6 @@ from .views import homepage
urlpatterns = [ urlpatterns = [
path('admin/', admin.site.urls), path('admin/', admin.site.urls),
path('homepage/', homepage, name='homepage'), path('', homepage, name='homepage'),
path('announcements/', announcements, name='Announcement Board')
] ]
from django.http import HttpResponse from django.http import HttpResponse
def homepage(request): def homepage(request):
return HttpResponse('Welcome to Widget!') return HttpResponse('Welcome to Widget!')
\ No newline at end of file
def announcements(request):
return HttpResponse('Welcome to The Announcement Board!')
\ No newline at end of file
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