call the method extend with an argument error_list on the return value of the method error_dict.setdefault called with 2 arguments: field and an empty list.
error_dict . setdefault ( field , [ ] ) . extend ( error_list )