All the expenses of holding the election shall be borne by the district, except when the election is consolidated with another election pursuant to Part 3 (commencing with Section 10400) of Division 10 of the Elections Code, in which case the expense borne by the district shall be that agreed upon by the district and the other governing body or bodies calling the election.