code: def get_client_ip_address(request: HttpRequest) -> str:
      
  
      client_ip_address, _ = ipware.ip2.get_client_ip(
          request,
          proxy_order=settings.AXES_PROXY_ORDER,
          proxy_count=settings.AXES_PROXY_COUNT,
          proxy_trusted_ips=settings.AXES_PROXY_TRUSTED_IPS,
          request_header_order=settings.AXES_META_PRECEDENCE_ORDER,
      )
  
      return str(ip_address(client_ip_address))
docs: Get client IP address as configured by the user.
  
      The django-ipware package is used for address resolution
      and parameters can be configured in the Axes package.