code: def get_formset(self, request, obj=None, **kwargs):
          
          data = super().get_formset(request, obj, **kwargs)
          if obj:
              data.form.base_fields['user'].initial = request.user.id
          return data
docs: Default user to the current version owner.