NGURAJEKA.COM — TERMINAL v2.0
ngura//jeka
« BACK

flask.ext.script Deprecated

2016-09-16  |  tag: python, flask, deprecated

Flask is one of the best Micro Framework that i’ve been using. It is based on Python, and it’s been a while since i was not using Python in Web Development.

Tonight, i started to create some small web application using Flask.

The recipe:

  • Flask (the Framework)
  • SQLAlchemy (ORM)
  • Flask Script (Manager)
  • Flask Migrate (Migration Tool)

I use this small boilerplate https://github.com/BugisDev/flask-app to start my development. And it was run smoothly, until i noticed that flask.ext.script has been deprecated.

It is just a small warning, but i think they will be removing it on the future release. To fix this warning (issue) is to change all of the

from flask.ext.script import anything

Into

from flask_script import anything

And all of the warning will be gone.

— EOF —
MODE: RETRO● ONLINEPOWERED BY TANSTACK + MDX