docs: def get_formset(self, request, obj=None, **kwargs):
          """
          Return a form, if the obj has a staffmember object, otherwise
          return an empty form
          """
          if obj is not None and self.model.objects.filter(user=obj).count():
              return super(StaffMemberAdmin, self).get_formset(
                  request,
                  obj,
                  **kwargs
              )
  
          defaults = {
              "exclude": None,
              "extra": 0,
              "max_num": 0,
          }
          return inlineformset_factory(self.parent_model, self.model, **defaults)