The provisions of this ordinance shall not be deemed or construed to require the payment of a license tax to conduct, manage, or carry on any business, occupation, or activity from any institution or organization which is conducted, managed, or carried on wholly for the benefit of charitable purposes or from which profit is not derived, either directly or indirectly, by any individual; nor shall any license tax be required for the conducting of any entertainment, concert, exhibition, or lecture on scientific, historical, literary, religious, or moral subjects within the city whenever the receipts of any such entertainment, concert, exhibition, or lecture are to be appropriated to any church or school or to any religious or benevolent purpose; nor shall any license tax be required for the conducting of any entertainment, dance, concert, exhibition, or lecture by any religious, charitable, fraternal, educational, military, state, county, or municipal organization or association whenever the receipts of any such entertainment, dance, concert, exhibition, or lecture are to be appropriated for the purpose and objects for which such organization or association was formed and from which profit is not derived, either directly or indirectly, by any individual; provided, however, that nothing in this section shall be deemed to exempt any such organization or association from complying with any of the provisions of this chapter requiring a permit from the city council or any commission or officer to conduct, manage, or carry on any profession, trade, calling, or occupation.