def get_context_data(self, pk, **kwargs):
context = super().get_context_data(**kwargs)
self.object = models.BarcodeSet.objects.get(pk=pk) # noqa
context['object'] = self.object
context['formset'] = kwargs['formset']
context['helper'] = FormHelper()
context['helper'].form_tag = False
context['helper'].template = \
'bootstrap4/table_inline_formset.html'
return context
# FlowCell Views --------------------------------------------------------------
#: All fields for the flow cell
评论列表
文章目录