Commit c183186a authored by Jonathan Talbot's avatar Jonathan Talbot

homepage widget

parent bc34da8d
Group 3 - Lab 1: Widget # Group 3 - Lab 1: Widget
Jonathan Talbot ### Jonathan Talbot - Homepage
Joshua De Vera
Isaiah Flores ### Joshua De Vera - Announcement Board
Giancarlo De Torres
\ No newline at end of file ### Isaiah Flores - Forum
### Giancarlo De Torres - Assignments
\ No newline at end of file
...@@ -15,7 +15,9 @@ Including another URLconf ...@@ -15,7 +15,9 @@ Including another URLconf
""" """
from django.contrib import admin from django.contrib import admin
from django.urls import path from django.urls import path
from .views import homepage
urlpatterns = [ urlpatterns = [
path('admin/', admin.site.urls), path('admin/', admin.site.urls),
path('homepage/', homepage, name='homepage'),
] ]
from django.http import HttpResponse
def homepage(request):
return HttpResponse('Welcome to Widget!')
\ 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