No appeal, other than an appeal by a county, city, town or other municipal corporation, from a judgment of a district court in any civil action or proceeding, except an action of summary process under chapter two hundred and thirty-nine, or a civil action for money damages in the district court and Boston municipal court departments pursuant to section 19 of chapter 218, shall be allowed, except a