def add_view(self, view):
        # Add to views
        self._views.append(view)

        # If app was provided in constructor, register view with Flask app
        if self.app is not None:
            self.app.register_blueprint(view.create_blueprint(self))

        self._add_view_to_menu(view)
Add a view to the collection.
dataset/ETHPy150Open flask-admin/flask-admin/flask_admin/base.py/Admin.add_view