code: def _lazy_load_get_model():
      
      if django is None:
          def _get_model(app, model):
              raise import_failure
      else:
          from django import apps as django_apps
          _get_model = django_apps.apps.get_model
      _LAZY_LOADS['get_model'] = _get_model
docs: Lazy loading of get_model.
  
      get_model loads django.conf.settings, which may fail if
      the settings haven't been configured yet.