views.py 207 B

1234567
  1. from django.shortcuts import render
  2. #from django.http import HttpResponse
  3. def home_page(request):
  4. return render(request, 'home.html', {
  5. 'new_item_text': request.POST.get('item_text', ''),
  6. })