Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
AE
Sith
Commits
1de77f2f
Commit
1de77f2f
authored
Dec 07, 2018
by
Sli
Committed by
Skia
Dec 13, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
core: fix typo
parent
076b10e3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
core/views/__init__.py
core/views/__init__.py
+1
-1
No files found.
core/views/__init__.py
View file @
1de77f2f
...
...
@@ -195,7 +195,7 @@ class CanViewMixin(View):
self
.
_get_queryset
=
self
.
get_queryset
def
get_qs
(
self2
):
return
self
.
_get_queryset
().
filter
(
id__in
=
l_id
)
return
self
2
.
_get_queryset
().
filter
(
id__in
=
l_id
)
self
.
get_queryset
=
types
.
MethodType
(
get_qs
,
self
)
return
super
(
CanViewMixin
,
self
).
dispatch
(
request
,
*
arg
,
**
kwargs
)
...
...
Write
Preview
Markdown
is supported
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