Paul's Programming Notes     Archive     Feed     Github

Multiple Views Based On Same Model - Flask-Admin

You need to manually change the endpoint like MrJoes says in issue 480: https://github.com/mrjoes/flask-admin/issues/480

Here's an example:
admin.add_view(MyModelView(model.CsvTable, db.session, endpoint="duplicate_view"))

You can now visit your view by going to 0.0.0.0/admin/duplicate_view