Commit 973a354c authored by Jonathan Talbot's avatar Jonathan Talbot

Merge branch 'forum' into 'main'

added forum to urls and views

See merge request !1
parents c183186a b2941941
......@@ -15,9 +15,10 @@ Including another URLconf
"""
from django.contrib import admin
from django.urls import path
from .views import homepage
from .views import homepage, forum
urlpatterns = [
path('admin/', admin.site.urls),
path('homepage/', homepage, name='homepage'),
path('forum/', forum, name='forum'),
]
......@@ -2,3 +2,6 @@ from django.http import HttpResponse
def homepage(request):
return HttpResponse('Welcome to Widget!')
def forum(request):
return HttpResponse('Welcome to Widget’s Forum!')
\ 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