Hello dbee,
If on lines above that you wrote:
errors = new_data = {}
then Python will use reference and make errors and new_data point to
the same object.
Thus, writing new_data['drop_selection'] = 'US' renders
errors['drop_selection'] = 'US' since they are in fact the same
object.
Instead of
Guys, I'm trying to preselect a value for a drop down menu by passing
that menu a value. Problem is though, that the value comes out
preselected AND it also comes out as an ***error beside the drop down
menu. I'm entering the value with new_data NOT with errors...
It looks something like this ...
2 matches
Mail list logo