Should I import flask.ext.sqlalchemy or flask_sqlalchemy?
<p>When I learned Flask, I found some examples used <code>flask.ext.sqlalchemy</code> and some used <code>flask_sqlalchemy</code>. Which one should be used?</p>

<p><a href="http://flask.pocoo.org/docs/0.11/extensiondev/" rel="nofollow">Flask Extension Development</a> guide says:</p>

<blockquote>
  <p>As of Flask 0.11, most Flask extensions have transitioned to the new
  naming schema. The flask.ext.foo compatibility alias is still in Flask
  0.11 but is now deprecated â you should use flask_foo.</p>
</blockquote>

python flask flask-sqlalchemy