Can you compost dog poop?

Can you compost dog poop? Conventional wisdom says that you should not compost...