Changes between Initial Version and Version 1 of Ticket #33015, comment 2
- Timestamp:
- Aug 13, 2021, 11:57:24 AM (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #33015, comment 2
initial v1 5 5 from django.db.models.expressions import Func 6 6 7 class ExpressionTuple(Func): 8 template = '(%(expressions)s)' 9 7 10 ExampleModel.objects.filter( 8 11 lookups.In( 9 Func('val1', 'val2', template='(%(expressions)s)'),12 ExpressionTuple('val1', 'val2'), 10 13 tuple(items_to_fetch), 11 14 )