:param module_instance: mostly the models module
    :param exclude_name_list: class does not need to register or is already registered
    :param admin_class_list:
    :return:

def register_all_in_module(module_instance, exclude_name_list=[], admin_class_list=None):
    """
    :param module_instance: mostly the models module
    :param exclude_name_list: class does not need to register or is already registered
    :param admin_class_list:
    :return:
    """
    class_list = []
    for name, obj in inspect.getmembers(module_instance):
        if inspect.isclass(obj):
            if obj.__name__ in exclude_name_list:
                continue
            class_list.append(obj)
    #print class_list, admin_class_list
    register_all(class_list, admin_class_list)