The battle of Adwa was fought between Italians and Ethiopians in northern Ethiopia in 1896. The Italians were defeated and it was the greatest victory for Africans. Were there any other battles where Africans defeated Europeans between 1850 and 1950?
An example in which the native forces were numerically inferior1 the colonizing forces was the Battle of Annual in Morocco in 1924.
Not in Africa, but still part of the colonial efforts, in 1857 the Indian Rebellion managed to expel the British East India Company for two years.
1OTOH, the technological differences between the two forces were not as lopsided as it was in Isandlwana.
Basuto gun war was the first defeat of an European power in a war against Africans
Afroblogger lists the greatest upsets by Africans against European armies