@register.as_tag
def models_for_pages(*args):
 from warnings import warn
 warn(u'template tag models_for_pages is deprectaed, use PageAdmin.get_content_models instead')
 from mezzanine.pages.admin import PageAdmin
 return PageAdmin.get_content_models()

@ register . as_tag def models_for_pages ( * args ) : from warnings import warn warn ( u'template tag models_for_pages is deprectaed, use PageAdmin.get_content_models instead' ) from mezzanine . pages . admin import PageAdmin return PageAdmin . get_content_models ( )
create a select list containing each of the models that subclass the page model .