I propose a mechanism for redistricting inspired by cake-cutting mechanisms for fair division. The majority party proposes a partition of a state into districts. The minority party can accept it or undo any partisan disadvantage caused by irregular boundaries. Thus without imposing any requirement of regularity, the mechanism ensures that to the extent that irregular districts result from the process, the minority is never harmed by them