10、TypeError: __init__() got an unexpected keyword argument ‘to‘

1. Problem TypeError: init () got an unexpected keyword argument'to'
Insert picture description here
2. Solution The
reason is that the field type is wrong. Before and
Insert picture description here
after modification,
Insert picture description here
I hope it will be helpful to you!

Guess you like

Origin blog.csdn.net/Erudite_x/article/details/115199213