diff --git a/src/lists/views.py b/src/lists/views.py index 9571f3e..7aa1cc9 100644 --- a/src/lists/views.py +++ b/src/lists/views.py @@ -6,10 +6,6 @@ from lists.models import Item # Create your views here def home_page(request): - if request.method == 'POST': - Item.objects.create(text=request.POST['item_text']) - return redirect('/lists/the-only-list-in-the-world') - return render(request=request, template_name='home.html') def view_list(request):