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
AE UTBM
Sith
Commits
a2ee0176
Commit
a2ee0176
authored
Dec 21, 2017
by
Skia
🤘
Browse files
club/views: fix call to parent's get_context_data in PosterListView
parent
22e277d4
Pipeline
#1445
passed with stage
in 6 minutes and 8 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
club/views.py
View file @
a2ee0176
...
...
@@ -602,7 +602,7 @@ class MailingAutoCleanView(View):
return
redirect
(
'club:mailing'
,
club_id
=
self
.
mailing
.
club
.
id
)
class
PosterListView
(
PosterListBaseView
,
CanViewMixin
,
ClubTabsMixin
):
class
PosterListView
(
ClubTabsMixin
,
PosterListBaseView
,
CanViewMixin
):
"""List communication posters"""
def
get_object
(
self
):
...
...
@@ -611,9 +611,7 @@ class PosterListView(PosterListBaseView, CanViewMixin, ClubTabsMixin):
def
get_context_data
(
self
,
**
kwargs
):
kwargs
=
super
(
PosterListView
,
self
).
get_context_data
(
**
kwargs
)
kwargs
[
'app'
]
=
"club"
kwargs
[
'current_tab'
]
=
self
.
current_tab
kwargs
[
'tabs_title'
]
=
self
.
get_tabs_title
()
kwargs
[
'list_of_tabs'
]
=
self
.
get_list_of_tabs
()
kwargs
[
'club'
]
=
self
.
club
return
kwargs
...
...
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