Changes between Version 1 and Version 2 of Ticket #20516, comment 5


Ignore:
Timestamp:
Jun 30, 2014, 4:11:39 AM (10 years ago)
Author:
Florian Apolloner

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #20516, comment 5

    v1 v2  
    44
    55Something like:
    6 
     6{{{
    77    stmt = MyModel.objects.filter(foo__bar=Param('able'), baz=Param('baker')).exclude(foo_quux=7)
    8 
     8}}}
    99Though perhaps an explicit "prepare()" would be better, the Param arguments mark where to bind parameters, and what to call them.
    1010
Back to Top