Skip to content

Commit f12619d

Browse files
committed
Update index.rst
fix import
1 parent 41094b5 commit f12619d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Next, add a :class:`~flask_mysqldb.MySQL` instance to your code:
2727
.. code-block:: python
2828
2929
from flask import Flask
30-
from flask_mysqldb import MySQL
30+
from flask.ext.mysqldb import MySQL
3131
3232
app = Flask(__name__)
3333
mysql = MySQL(app)

0 commit comments

Comments
 (0)