This example shows how you can customize the look & feel of the admin interface. This is done by overriding some of the built-in templates.
To run this example:
Clone the repository:
git clone https://github.com/flask-admin/flask-admin.git cd flask-admin
Create and activate a virtual environment:
virtualenv env source env/bin/activate
Install requirements:
pip install -r 'examples/layout/requirements.txt'
Run the application:
python examples/layout/app.py
The first time you run this example, a sample sqlite database gets populated automatically. To suppress this behaviour, comment the following lines in app.py::
if not os.path.exists(database_path): build_sample_db()