'what is difference between these two
I have checkboxes in my view for filtering the data i have two different fileds implemented like this in my ListAPIView what's the difference between field 1 and field_2
field_1 = request.GET.get('field_1', 'true') == 'true'
field_2 = request.GET.get('field_1', False)
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
