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