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
La Quadrature du Net
Respect My Net
Commits
9aa50de8
Commit
9aa50de8
authored
Apr 05, 2016
by
okhin
Browse files
Still hunting for dat 500 error
parent
2e5b2623
Changes
1
Hide whitespace changes
Inline
Side-by-side
bt/views.py
View file @
9aa50de8
...
...
@@ -256,7 +256,7 @@ class LookupView(SearchView):
def
get_context_data
(
self
,
*
args
,
**
kwargs
):
context
=
super
(
LookupView
,
self
).
get_context_data
(
*
args
,
**
kwargs
)
if
'object_list'
in
context
:
context
[
'object_list'
]
=
[
obj
for
obj
in
context
[
'object_list'
]
if
not
obj
.
object
.
old
]
context
[
'object_list'
]
=
[
obj
for
obj
in
context
[
'object_list'
]
if
not
obj
.
old
]
return
context
class
ViolationSearchView
(
SearchView
):
...
...
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