def get_queryset(self): return perms.filter_categories(self.request.user, Category.objects.all())
def get_queryset(self): return perms.filter_categories(self.request.user, Category.objects.all())
def get_queryset(self): return perms.filter_categories( self.request.user, Category.objects.filter( client__code=self.request.pybb_client))