[Django](1093, "You can't specify target table 'fee_details_invoices' for update in FROM clause") 错误
dele_id=Fee_details_invoices.objects.filter(fee_detail_id__in=fee_id_list,return_type='2').values_list('fee_detail_id',flat=True)
Fee_details_invoices.objects.filter(fee_detail_id__in=dele_id).delete(