mirror of
https://github.com/pallets-eco/flask-debugtoolbar.git
synced 2025-12-30 01:59:29 -06:00
Additional cleanup of deprecated flask.ext.* magic imports. (#97)
This commit is contained in:
committed by
Jeff Widman
parent
18a0030354
commit
2436239964
@@ -70,7 +70,7 @@ Shows SQL queries run during the current request.
|
||||
:ref:`flasksqlalchemy:quickstart` section to configure it.
|
||||
|
||||
For additional details on query recording see the
|
||||
:py:func:`~flask.ext.sqlalchemy.get_debug_queries` documentation.
|
||||
:py:func:`~flask_sqlalchemy.get_debug_queries` documentation.
|
||||
|
||||
.. image:: _static/screenshot-sqlalchemy-panel.png
|
||||
|
||||
|
||||
@@ -2,8 +2,8 @@ import sys
|
||||
sys.path.insert(0, '.')
|
||||
|
||||
from flask import Flask, render_template, redirect, url_for
|
||||
from flask.ext.script import Manager
|
||||
from flask.ext.sqlalchemy import SQLAlchemy
|
||||
from flask_script import Manager
|
||||
from flask_sqlalchemy import SQLAlchemy
|
||||
from flask_debugtoolbar import DebugToolbarExtension
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user