1 | | I believe the request is to allow `Mode.objects.filter(booleanfield='true')` (see [https://github.com/django/django/blob/master/django/db/models/fields/__init__.py#L997-L1007 BooleanField.to_python()]). I don't find the existing laxness of accepting 0, 1, 't', 'f', 'True', 'False', True, and False particularly compelling and I wouldn't advocate for being even more liberal in the accepted values. |
| 1 | I believe the request is to allow `Mode.objects.filter(booleanfield='true')` (see [https://github.com/django/django/blob/b4fa94aed8ec5209176c9fa88aba3eacdca837f3/django/db/models/fields/__init__.py#L997-L1007 BooleanField.to_python()]). I don't find the existing laxness of accepting 0, 1, 't', 'f', 'True', 'False', True, and False particularly compelling and I wouldn't advocate for being even more liberal in the accepted values. |