def _get_seo_content_types(seo_models):
try:<EOL><INDENT>return [ ContentType.objects.get_for_model(m).id for m in seo_models ]<EOL><DEDENT>except: <EOL><INDENT>return []<EOL><DEDENT>
Returns a list of content types from the models defined in settings (SEO_MODELS)