mirror of
https://github.com/ae-utbm/sith.git
synced 2026-10-12 05:36:02 +00:00
Fix tab mixin on clubs
This commit is contained in:
3 files changed
+6
-6
No files matched your search
@@ -510,6 +510,7 @@ class PosterListBaseView(ListView):
|
||||
|
||||
def dispatch(self, request, *args, **kwargs):
|
||||
club_id = kwargs.pop('club_id', None)
|
||||
self.club = None
|
||||
if club_id:
|
||||
self.club = get_object_or_404(Club, pk=club_id)
|
||||
return super(PosterListBaseView, self).dispatch(request, *args, **kwargs)
|
||||
|
||||
Reference in new issue
Block a user