Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/pjcunningham/flask-admin-modal


https://github.com/pjcunningham/flask-admin-modal

bootstrap3 flask flask-admin modal python

Last synced: 3 months ago
JSON representation

Awesome Lists containing this project

README

        

# flask-admin-modal

Example, in response to this [StackOverflow](https://stackoverflow.com/q/47593195/2800058) question,
of using a Bootstrap modal popup to update multiple records selected in a Flask-Admin batch action.

![Popup Demo](flask-admin-modal.gif)

## Installation

```bash
git clone https://github.com/pjcunningham/flask-admin-modal.git
cd flask-admin-modal

# (optional, create a virtual environment)
virtualenv venv && source venv/bin/activate

# fetch dependencies; add '--user' if not using a virtualenv
pip install -r requirements.txt

# Set Flask environment variable e.g. Windows CMD
set FLASK_APP=run.py

# Create/Populate data
flask create-database

# launch app
flask run
```