I’m having trouble with the Tourist Attractions Project for Learn Flask
Step 10 mentions to replace [(None, None)] with request.form.items()
Hence my code is
if request.method == “POST”:
[(name, action)] = request.form.items()
When I click on ‘X’ i get an error message saying
ValueError: not enough values to unpack (expected 1, got 0)
Is this right?