

def get_form(self, request, obj=None, **kwargs):
    if (obj and self.admin_integration_enabled):
        self.form = self.get_moderated_object_form(obj.__class__)
    return super(ModerationAdmin, self).get_form(request, obj, **kwargs)

dataset/ETHPy150Open dominno/django-moderation/moderation/admin.py ModerationAdmin.get_form/original