def _models_generator():
for app in apps.get_app_configs():<EOL><INDENT>for model in app.get_models():<EOL><INDENT>yield (str(model._meta.verbose_name).lower(), model)<EOL>yield (str(model._meta.verbose_name_plural).lower(), model)<EOL><DEDENT><DEDENT>
Build a hash of model verbose names to models