bulk_queryset should be usable to create your own bulk actions without using Table.bulk_form
@@ -1334,7 +1334,7 @@ def bulk_queryset(self):
.filter(**self.bulk_filter) \
.exclude(**self.bulk_exclude)
- if self._bulk_form.fields_by_name._all_pks_.value == '1':
+ if table.request.POST.get('_all_pks_') == '1':
return queryset
else:
pks = [key[len('pk_'):] for key in self.request.POST if key.startswith('pk_')]
