(request: WSGIRequest)
Enables or disables ip checking based on the given value.
Enables or disables ip checking based on the given value.
Enables or disables ip checking based on the given value .
def set_ip_checking(request: WSGIRequest) -> None:
    """Enables or disables ip checking based on the given value."""
    enabled = request.POST.get("value") == "true"
    storage.set("ip_checking", enabled)
def set_ip_checking ( request : WSGIRequest ) -> None : enabled = request . POST . get ( "value" ) == "true" storage . set ( "ip_checking" , enabled )