See following form

search_form = FORM <http://127.0.0.1:8000/examples/global/vars/FORM>(LABEL 
<http://127.0.0.1:8000/examples/global/vars/LABEL>('Search a word: ', 
_for='word', _id='word_label', _name='word_label'),
                    INPUT 
<http://127.0.0.1:8000/examples/global/vars/INPUT>(_id='word', _name='word', 
requires=IS_NOT_EMPTY 
<http://127.0.0.1:8000/examples/global/vars/IS_NOT_EMPTY>()), 
                    SELECT 
<http://127.0.0.1:8000/examples/global/vars/SELECT>(_name='languages', 
_id='languages', requires=IS_IN_DB 
<http://127.0.0.1:8000/examples/global/vars/IS_IN_DB>(db,'languages.id'), 
*options_added),
                    INPUT 
<http://127.0.0.1:8000/examples/global/vars/INPUT>(_type="submit",_value="SEARCH"),
                     _name='search_form')

 I used to do something like search_form[2][3]['_selected']=True

But now with 1.91.x this shows an error (Assignment with NoneType or something 
similar)

What happened?

Reply via email to