def METHOD_NAME(self, viewset, lookup_prefix=""):
    """
    Returns a lookup regex, this extends the default to allow for multiple
    lookup keys as defined by a viewset.lookup_fields property.
    """
    result = super().METHOD_NAME(viewset, lookup_prefix)
    lookup_fields = getattr(viewset, "lookup_fields", None)
    if lookup_fields and not self.multi:
        lookup_value = getattr(viewset, "lookup_value_regex", "[^/.]+")
        for lookup_field in lookup_fields[1:]:
            result += f"/(?P<{lookup_field}>{lookup_value})"
    return result