

def approve_objects(modeladmin, request, queryset):
    for obj in queryset:
        obj.approve(moderated_by=request.user)

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