Why the JSON bool data pass to the Django backend it turned into str? : The butt joint of `JSON data` and Python `request.params`:

    http://localhost:8000/api/physicalservertask/list_for_home_workpanel/?has_physicalserver=false

you see I add the `has_physicalserver` param in the `url`, we know in the JSON, the Bool is `true` and `false`. but in my Django API I get it, it is `str`.

    has_physicalserver_list = query_params.pop('has_physicalserver')
    has_physicalserver = has_physicalserver_list[0] if (isinstance(has_physicalserver_list, list) and len(has_physicalserver_list) > 0) else ''

<kbd>[![enter image description here][1]][1]</kbd>


  [1]: https://i.stack.imgur.com/wY8Lm.jpg