Changes between Version 1 and Version 2 of Ticket #20516, comment 5
- Timestamp:
- Jun 30, 2014, 4:11:39 AM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #20516, comment 5
v1 v2 4 4 5 5 Something like: 6 6 {{{ 7 7 stmt = MyModel.objects.filter(foo__bar=Param('able'), baz=Param('baker')).exclude(foo_quux=7) 8 8 }}} 9 9 Though perhaps an explicit "prepare()" would be better, the Param arguments mark where to bind parameters, and what to call them. 10 10