This example shows how to use EditableGrid with Python/Flask as a WebFramework and a SQLite database. The example is based on editablegrid-mysql-example writen originally in php by webismymind. All php files where converted to python and javascript files kept to their original content except with demo.js.
The same copyrights apply to this code that was applied to the original code.
Clone or Download the editablegrid-python-sqlite-example repository to your computer:
git clone https://github.com/ceprio/editablegrid-python-sqlite-example
Install python dependencies:
pip3 install -r requirements.txt
To run the sample just run the main.py file:
py.exe main.py
The command may vary according to OS and environment.
Open your favorite browser to see the result at this URL: http://localhost:5000
For further information go to the original sample repository: editablegrid-mysql-example
Have fun!