1 | | Feature request makes sense, PR with tests is welcome. Note that this only works if there's a single field being distinct on and that `distinct('foo', 'bar').in_bulk(field_name='foo')` should not work. |
| 1 | Feature request makes sense, PR with tests is welcome. |
| 2 | |
| 3 | Note that this only works if there's a single field being distinct on; `distinct('foo', 'bar').in_bulk(field_name='foo')` should not work. In other words the logic should be `self.query.distinct_fields == (field_name,)` and not check for containment as suggested above. |