

def register(admin_site, model):
    form_class = movenodeform_factory(model)
    admin_class = admin_factory(form_class)
    admin_site.register(model, admin_class)

dataset/ETHPy150Open tabo/django-treebeard/treebeard/tests/admin.py register/original