Merge pull request #1594 from ostcar/issue_1551
Fix check_permission in motion support view.
This commit is contained in:
commit
4b4522f3f8
@ -499,7 +499,7 @@ class SupportView(SingleObjectMixin, QuestionView):
|
|||||||
model = Motion
|
model = Motion
|
||||||
support = True
|
support = True
|
||||||
|
|
||||||
def check_permission(self, request):
|
def check_permission(self, request, *args, **kwargs):
|
||||||
"""
|
"""
|
||||||
Return True if the user can support or unsupport the motion. Else: False.
|
Return True if the user can support or unsupport the motion. Else: False.
|
||||||
"""
|
"""
|
||||||
|
Loading…
Reference in New Issue
Block a user