Last active
November 29, 2016 08:03
-
-
Save dingosaurus/66d648c34a1083aee814c1fd13382c12 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
the_expressions = list() | |
for param in request.GET: | |
# priprava Q | |
the_expressions.append(Q(a=1, b=2, c=3)) | |
objects = objects.filter(*the_expressions) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment