code: def get_object_or_none(klass, *args, **kwargs):
      
      queryset = _get_queryset(klass)
      try:
          return queryset.get(*args, **kwargs)
      except:  # noqa: E722
          return None
docs: Calls get() on a given model manager, but it returns None instead of the model’s
          DoesNotExist exception.