code: def models_for_pages(*args):
      
      from warnings import warn
      warn("template tag models_for_pages is deprectaed, use "
          "PageAdmin.get_content_models instead")
      from yacms.pages.admin import PageAdmin
      return PageAdmin.get_content_models()
docs: Create a select list containing each of the models that subclass the
      ``Page`` model.