def get_admin_by_name(self, name):
        for object_admin in self.registry.values():
            if object_admin.name == name:
                return object_admin
        raise ValueError(
            u'No object admin found with name {}'.format(repr(name)))
Returns the admin instance that was registered with the passed in
dataset/ETHPy150Open pydanny/django-admin2/djadmin2/core.py/Admin2.get_admin_by_name