Mix squash, onion, sugar, salt and pepper and place in colander to drain. The salt and sugar will draw the moisture out of the squash. You want most of the moisture out of the squash, so you may leave in the colander for a while or squeeze mixture with your hands to remove as much of the liquid as possible. Place squash mixture in bowl and add flour and eggs. Mix well. Place extra virgin olive oil plus a small amount of canola oil in a frying pan and heat. (The canola oil will keep the olive oil from burning as olive will get very hot and burn quickly.) Form squash mixture into patties and fry until done and browned.