Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Political Memory
memopol
Commits
455eef28
Commit
455eef28
authored
Feb 09, 2017
by
okhin
Browse files
Was missing a parenthesis
parent
ca0489ec
Pipeline
#873
failed with stage
in 9 minutes and 30 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
src/representatives/filters.py
View file @
455eef28
...
...
@@ -50,6 +50,6 @@ class ActiveConstituencyFilterBackend(BaseFilterBackend):
qs
=
qs
.
filter
(
mandates__in
=
Mandate
.
objects
.
filter
(
Q
(
end_date__gte
=
datetime
.
today
)
|
Q
(
end_date__isnull
=
True
)).
filter
(
Q
(
constituency__name__in
=
mandates
Q
(
constituency__name__in
=
mandates
)
)).
distinct
()
return
qs
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment