@snychka_admin, I just ran into the same issue. Any line it's run on returns an error in step of 2 of 2.9. I had to repeat your steps above, and then comment out the errant
'' to proceed.
Original code at problem start;
form = LocationForm(request.POST)
location = Location(name = form.cleaned_data['name'],
num_restaurants = form.cleaned_data['num_restaurants'],
predators = form.cleaned_data['predators'],
img = form.cleaned_data['img'])
Why are there uneditable
'' in the second to last line, in the provided code to begin with?
moderator: likely improved