Closed LauraMayock closed 1 year ago
Error found in the view section. There were spaces around the = sign "/add_review?submitted=True')`
def add_review(request): submitted = False if request.method == "POST": form = BookReview(request.POST) if form.is_valid(): form.save() return HttpResponseRedirect('/add_review?submitted=True')
As a user I can see clearly that me review has been submitted successfully so that I trust that it has been received the the blog owner
Tasks: [x] Run through the code to see where the error in the code is. [x] Pop up working successfully.