def _set_seo_models(self, value):
seo_models = []<EOL>for model_name in value:<EOL><INDENT>if "<STR_LIT:.>" in model_name:<EOL><INDENT>app_label, model_name = model_name.split("<STR_LIT:.>", <NUM_LIT:1>)<EOL>model = models.get_model(app_label, model_name)<EOL>if model:<EOL><INDENT>seo_models.append(model)<EOL><DEDENT><DEDENT>else:<EOL><INDENT>app = models.get_app(model_name)<EOL>if app:<EOL><INDENT>seo_models.extend(models.get_models(app))<EOL><DEDENT><DEDENT><DEDENT>self.seo_models = seo_models<EOL>
Gets the actual models to be used.