9 lines
314 B
Python
Raw Normal View History

from django.http.request import HttpRequest
from django.http.response import HttpResponse
from django.shortcuts import render
# Create your views here
def home_page(request):
return render(request=request, template_name='home.html', context={
2020-11-08 20:39:30 +11:00
'new_item_text': request.POST.get('item_text', ''),
})