diff --git a/docs/index.rst b/docs/index.rst index 0754afd..1ea917c 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -39,7 +39,7 @@ All you have to do is create a MongoAlchemy object and use it to declare documen :: from flask import Flask - from flask.ext.mongoalchemy import MongoAlchemy + from flask_mongoalchemy import MongoAlchemy app = Flask(__name__) app.config['MONGOALCHEMY_DATABASE'] = 'library' db = MongoAlchemy(app)