

def set_objects_as_pending(modeladmin, request, queryset):
    queryset.update(moderation_status=MODERATION_STATUS_PENDING)

dataset/ETHPy150Open dominno/django-moderation/moderation/admin.py set_objects_as_pending/original