Use flask.ext to import flask extension