Skip to content

Commit f5d367e

Browse files
committed
Merge pull request pallets-eco#321 from ThiefMaster/no-flask-ext
Replace flask.ext.sqlalchemy with flask_sqlalchemy
2 parents 9343ac5 + b2eac43 commit f5d367e

File tree

8 files changed

+8
-8
lines changed

8 files changed

+8
-8
lines changed

docs/api.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
API
22
---
33

4-
.. module:: flask.ext.sqlalchemy
4+
.. module:: flask_sqlalchemy
55

66
This part of the documentation documents all the public classes and
77
functions in Flask-SQLAlchemy.

docs/binds.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.. _binds:
22

3-
.. currentmodule:: flask.ext.sqlalchemy
3+
.. currentmodule:: flask_sqlalchemy
44

55
Multiple Databases with Binds
66
=============================

docs/config.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ custom naming convention like this as suggested by the SQLAlchemy docs::
129129

130130
from sqlalchemy import MetaData
131131
from flask import Flask
132-
from flask.ext.sqlalchemy import SQLAlchemy
132+
from flask_sqlalchemy import SQLAlchemy
133133

134134
convention = {
135135
"ix": 'ix_%(column_0_label)s',

docs/contexts.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.. _contexts:
22

3-
.. currentmodule:: flask.ext.sqlalchemy
3+
.. currentmodule:: flask_sqlalchemy
44

55
Introduction into Contexts
66
==========================

docs/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Flask-SQLAlchemy
44
================
55

6-
.. module:: flask.ext.sqlalchemy
6+
.. module:: flask_sqlalchemy
77

88
Flask-SQLAlchemy is an extension for `Flask`_ that adds support for
99
`SQLAlchemy`_ to your application. It requires SQLAlchemy 0.6 or

docs/models.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.. _models:
22

3-
.. currentmodule:: flask.ext.sqlalchemy
3+
.. currentmodule:: flask_sqlalchemy
44

55
Declaring Models
66
================

docs/queries.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.. currentmodule:: flask.ext.sqlalchemy
1+
.. currentmodule:: flask_sqlalchemy
22

33
Select, Insert, Delete
44
======================

docs/quickstart.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Quickstart
44
==========
55

6-
.. currentmodule:: flask.ext.sqlalchemy
6+
.. currentmodule:: flask_sqlalchemy
77

88
Flask-SQLAlchemy is fun to use, incredibly easy for basic applications, and
99
readily extends for larger applications. For the complete guide, checkout

0 commit comments

Comments
 (0)