There are compost toilets that can handle poo and wee, and those that only handle poo. Sometimes there is a separate funnel for weeing into, so that wee can be collected in a separate container and sometimes excess liquid is allowed to drain out the bottom of the toilet.