Commit a2ee0176 authored by Skia's avatar 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
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment