We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2c855c7 commit e51543eCopy full SHA for e51543e
python/ql/src/experimental/semmle/python/frameworks/Django.qll
@@ -307,7 +307,7 @@ private module Django {
307
308
ObjectsAnnotate() {
309
node.getFunction() = django::db::models::objects_attr("annotate").asCfgNode() and
310
- raw in [node.getArg(0), node.getArgByName(_)] and
+ raw in [node.getArg(_), node.getArgByName(_)] and
311
raw.getFunction() = django::db::models::expressions::RawSQL::classRef().asCfgNode()
312
}
313
0 commit comments