From 087c3c04a406e35a01aca8280d919eeedeec6daf Mon Sep 17 00:00:00 2001 From: Armin Ronacher Date: Mon, 9 Apr 2012 17:54:25 +0100 Subject: [PATCH] Updated docs --- docs/api.rst | 2 +- docs/binds.rst | 2 +- docs/contexts.rst | 4 ++-- docs/index.rst | 2 +- docs/models.rst | 2 +- docs/queries.rst | 2 +- docs/quickstart.rst | 4 ++-- 7 files changed, 9 insertions(+), 9 deletions(-) diff --git a/docs/api.rst b/docs/api.rst index a8822f0f..cf1c8049 100644 --- a/docs/api.rst +++ b/docs/api.rst @@ -1,7 +1,7 @@ API --- -.. module:: flaskext.sqlalchemy +.. module:: flask.ext.sqlalchemy This part of the documentation documents all the public classes and functions in Flask-SQLAlchemy. diff --git a/docs/binds.rst b/docs/binds.rst index ab35b771..154e546c 100644 --- a/docs/binds.rst +++ b/docs/binds.rst @@ -1,6 +1,6 @@ .. _binds: -.. currentmodule:: flaskext.sqlalchemy +.. currentmodule:: flask.ext.sqlalchemy Multiple Databases with Binds ============================= diff --git a/docs/contexts.rst b/docs/contexts.rst index 5de6b3a1..ccdfe7ff 100644 --- a/docs/contexts.rst +++ b/docs/contexts.rst @@ -1,6 +1,6 @@ .. _contexts: -.. currentmodule:: flaskext.sqlalchemy +.. currentmodule:: flask.ext.sqlalchemy Introduction into Contexts ========================== @@ -16,7 +16,7 @@ object globally, how does the latter learn about the former? The answer is the :meth:`~SQLAlchemy.init_app` function:: from flask import Flask - from flaskext.sqlalchemy import SQLAlchemy + from flask.ext.sqlalchemy import SQLAlchemy db = SQLAlchemy() diff --git a/docs/index.rst b/docs/index.rst index dafd2108..85a37395 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -3,7 +3,7 @@ Flask-SQLAlchemy ================ -.. module:: flaskext.sqlalchemy +.. module:: flask.ext.sqlalchemy Flask-SQLAlchemy is an extension for `Flask`_ that adds support for `SQLAlchemy`_ to your application. It requires SQLAlchemy 0.6 or diff --git a/docs/models.rst b/docs/models.rst index e1992c2d..fa6eea46 100644 --- a/docs/models.rst +++ b/docs/models.rst @@ -1,6 +1,6 @@ .. _models: -.. currentmodule:: flaskext.sqlalchemy +.. currentmodule:: flask.ext.sqlalchemy Declaring Models ================ diff --git a/docs/queries.rst b/docs/queries.rst index eb6d8aba..99376d40 100644 --- a/docs/queries.rst +++ b/docs/queries.rst @@ -1,4 +1,4 @@ -.. currentmodule:: flaskext.sqlalchemy +.. currentmodule:: flask.ext.sqlalchemy Select, Insert, Delete ====================== diff --git a/docs/quickstart.rst b/docs/quickstart.rst index 9c6e7ab5..4b320a68 100644 --- a/docs/quickstart.rst +++ b/docs/quickstart.rst @@ -3,7 +3,7 @@ Quickstart ========== -.. currentmodule:: flaskext.sqlalchemy +.. currentmodule:: flask.ext.sqlalchemy Flask-SQLAlchemy is fun to use, incredibly easy for basic applications, and readily extends for larger applications. For the complete guide, checkout out @@ -22,7 +22,7 @@ provides a class called `Model` that is a declarative base which can be used to declare models:: from flask import Flask - from flaskext.sqlalchemy import SQLAlchemy + from flask.ext.sqlalchemy import SQLAlchemy app = Flask(__name__) app.config['SQLALCHEMY_DATABASE_URI'] = 'sqlite:////tmp/test.db'