forked from pallets-eco/flask-sqlalchemy
-
Notifications
You must be signed in to change notification settings - Fork 0
Hello2 notes
smitty1eGH edited this page Jul 9, 2012
·
1 revision
Upon discovering https://github.com/mitsuhiko/flask-sqlalchemy/pull/55
I pulled that code and updated my local flask-sqlalchemy installation. Florian Demmer, you rock!
Now, you can invoke hello2.py for a purely sqlalchemy construction of the Todo database file, hello2.sqlite
Then, you can invoke hello2flask.py, which will show you the Todo table at http://localhost:5000
I did have to drop one line from the Jinja2 template to make this work, as my first attempt at commenting it out failed, and I was not interested in debugging.
Thanks!