k-nut / osm-gtfs-checker

Compares the public transit data in OSM to the data published by the VBB
osm-checker.k-nut.eu
MIT License
10 stars 2 forks source link

Update models.py for running current versions of flask #21

Closed britiger closed 5 years ago

britiger commented 5 years ago

Import SQLAlchemy from flask_sqlalchemy, flask.ext doesn't exists anymore. Also suppress warning by set SQLALCHEMY_TRACK_MODIFICATIONS

k-nut commented 5 years ago

Thank you for your PR! It would be cool to also pin the dependencies in the requirements.txt so that this does not happen again in the future. If you want to add another PR that does this, I'd be more than happy!

Might I also ask what city you plan on using this for?