Skip to content

'Q' object is needed only for complex queries #878

@johnmhoran

Description

@johnmhoran

From @tdruez 's comments in #875 .

image

Q object is not needed here, it is only required for complex query such as applying OR between filters such as https://github.com/nexB/vulnerablecode/pull/813/files#diff-3e8fc96d993d0bd8585642f68239732a30a19b7ec100a36ee5d21e209625ff81R202.
This comment applies to all the place you have a single Q in your filter().

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions