Commit ed846083 authored by James Esguerra's avatar James Esguerra

Changed ShowHome function to render base template

parent 551dd78e
from django.shortcuts import render from django.shortcuts import render
from django.http import HttpResponse from django.http import HttpResponse
from .forms import HomeForm
def ShowHome(request): def ShowHome(request):
return HttpResponse("This is the homepage.") form = HomeForm()
return render(request, 'base.html', {'form': form})
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