docs: def _get_ip_address(self, request):
          """Get the remote ip address the request was generated from. """
          ipaddr = request.META.get("HTTP_X_FORWARDED_FOR", None)
          if ipaddr:
              # X_FORWARDED_FOR returns client1, proxy1, proxy2,...
              return ipaddr.split(",")[0].strip()
          return request.META.get("REMOTE_ADDR", "")