Skip to content
GitLab
Menu
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
9f75dfea
Commit
9f75dfea
authored
Feb 27, 2017
by
okhin
Browse files
Stupid typo
parent
6ca37d12
Pipeline
#891
passed with stage
in 9 minutes and 14 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
src/representatives/filters.py
View file @
9f75dfea
...
...
@@ -50,7 +50,7 @@ class ActiveConstituencyFilterBackend(BaseFilterBackend):
if
self
.
query_param
in
request
.
GET
:
if
len
(
request
.
GET
[
self
.
query_params
]):
mandates
=
urlunq
o
ute
(
request
.
GET
[
self
.
query_param
]).
split
(
','
)
mandates
=
urlunqu
o
te
(
request
.
GET
[
self
.
query_param
]).
split
(
','
)
qs
=
qs
.
filter
(
mandates__in
=
Mandate
.
objects
.
filter
(
Q
(
end_date__gte
=
datetime
.
today
)
|
Q
(
end_date__isnull
=
True
)).
filter
(
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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