Changes between Initial Version and Version 1 of Ticket #33015, comment 9
- Timestamp:
- Dec 18, 2024, 12:28:07 PM (5 days ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #33015, comment 9
initial v1 11 11 }}} 12 12 13 For users that won't be able to upgrade to Django 5.2 anything soon you don't have to rely on `extra`; simply use `RawSQL` 14 15 {{{#!python 16 from django.db.models.fields.tuple_lookups import Tuple, TupleIn 17 18 ExampleModel.objects.filter( 19 RawSQL("(val1, val2) in %s", (items_to_fetch,), output_field=BooleanField()) 20 ) 21 }}} 22 13 23 So I'll close this ticket as fixed since `Tuple` and `TupleIn` should be released as part of Django 5.2 so this request was effectively resolved by 1eac690d25dd49088256954d4046813daa37dc95.