diff --git a/src/teams/views.py b/src/teams/views.py index f739e781..a5056af8 100644 --- a/src/teams/views.py +++ b/src/teams/views.py @@ -48,7 +48,7 @@ class TeamManageView(CampViewMixin, EnsureTeamResponsibleMixin, UpdateView): slug_url_kwarg = 'team_slug' def get_success_url(self): - return reverse_lazy('teams:detail', kwargs={'camp_slug': self.camp.slug, 'slug': self.get_object().slug}) + return reverse_lazy('teams:detail', kwargs={'camp_slug': self.camp.slug, 'team_slug': self.get_object().slug}) class TeamJoinView(LoginRequiredMixin, CampViewMixin, UpdateView):