def __init__(self, model, name=None, category=None, endpoint=None, url=None, static_folder=None, menu_class_name=None, menu_icon_type=None, menu_icon_value=None):
    '\n            Constructor\n\n            :param model:\n                Model class\n            :param name:\n                Display name\n            :param category:\n                Display category\n            :param endpoint:\n                Endpoint\n            :param url:\n                Custom URL\n            :param menu_class_name:\n                Optional class name for the menu item.\n            :param menu_icon_type:\n                Optional icon. Possible icon types:\n\n                 - `flask_admin.consts.ICON_TYPE_GLYPH` - Bootstrap glyph icon\n                 - `flask_admin.consts.ICON_TYPE_FONT_AWESOME` - Font Awesome icon\n                 - `flask_admin.consts.ICON_TYPE_IMAGE` - Image relative to Flask static directory\n                 - `flask_admin.consts.ICON_TYPE_IMAGE_URL` - Image with full URL\n\n            :param menu_icon_value:\n                Icon glyph name or URL, depending on `menu_icon_type` setting\n        '
    self._search_fields = []
    super(ModelView, self).__init__(model, name, category, endpoint, url, static_folder, menu_class_name=menu_class_name, menu_icon_type=menu_icon_type, menu_icon_value=menu_icon_value)
    self._primary_key = self.scaffold_pk()
Constructor

:param model:
    Model class
:param name:
    Display name
:param category:
    Display category
:param endpoint:
    Endpoint
:param url:
    Custom URL
:param menu_class_name:
    Optional class name for the menu item.
:param menu_icon_type:
    Optional icon. Possible icon types:

     - `flask_admin.consts.ICON_TYPE_GLYPH` - Bootstrap glyph icon
     - `flask_admin.consts.ICON_TYPE_FONT_AWESOME` - Font Awesome icon
     - `flask_admin.consts.ICON_TYPE_IMAGE` - Image relative to Flask static directory
     - `flask_admin.consts.ICON_TYPE_IMAGE_URL` - Image with full URL

:param menu_icon_value:
    Icon glyph name or URL, depending on `menu_icon_type` setting
def __init__(self, model, name=None, category=None, endpoint=None, url=None, static_folder=None, menu_class_name=None, menu_icon_type=None, menu_icon_value=None):
    '\n            Constructor\n\n            :param model:\n                Model class\n            :param name:\n                Display name\n            :param category:\n                Display category\n            :param endpoint:\n                Endpoint\n            :param url:\n                Custom URL\n            :param menu_class_name:\n                Optional class name for the menu item.\n            :param menu_icon_type:\n                Optional icon. Possible icon types:\n\n                 - `flask_admin.consts.ICON_TYPE_GLYPH` - Bootstrap glyph icon\n                 - `flask_admin.consts.ICON_TYPE_FONT_AWESOME` - Font Awesome icon\n                 - `flask_admin.consts.ICON_TYPE_IMAGE` - Image relative to Flask static directory\n                 - `flask_admin.consts.ICON_TYPE_IMAGE_URL` - Image with full URL\n\n            :param menu_icon_value:\n                Icon glyph name or URL, depending on `menu_icon_type` setting\n        '
    self._search_fields = []
    super(ModelView, self).__init__(model, name, category, endpoint, url, static_folder, menu_class_name=menu_class_name, menu_icon_type=menu_icon_type, menu_icon_value=menu_icon_value)
    self._primary_key = self.scaffold_pk()