Commit 6d8d23a3 authored by John Tamano's avatar John Tamano

Added views for homepage to display model data

parent 3c34dc93
......@@ -13,7 +13,7 @@ def displayWidgetUsers(request):
WidgetUsers = models.WidgetUser.objects.all()
WidgetUserTemplate = get_template('homepage.html')
display = WidgetUserTemplate.render({'displayWidgetUsers': WidgetUsers})
return HttpResponse(display)
return HttpResponse(display)
# Create your views here.
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