Intitial teams support #147
@ -37,7 +37,7 @@ class MaintainedExtensionMixin:
|
||||
if user_teams:
|
||||
filter = filter | Q(team__in=[t.pk for t in user_teams])
|
||||
self.extension = get_object_or_404(
|
||||
Extension.objects.filter(filter),
|
||||
Extension.objects.filter(filter).distinct(),
|
||||
slug=self.kwargs['slug'],
|
||||
)
|
||||
return super().dispatch(*args, **kwargs)
|
||||
|
Loading…
Reference in New Issue
Block a user