Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Updated docs
  • Loading branch information
mitsuhiko committed Apr 9, 2012
1 parent bf6806e commit 087c3c0
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion 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.
Expand Down
2 changes: 1 addition & 1 deletion docs/binds.rst
@@ -1,6 +1,6 @@
.. _binds:

.. currentmodule:: flaskext.sqlalchemy
.. currentmodule:: flask.ext.sqlalchemy

Multiple Databases with Binds
=============================
Expand Down
4 changes: 2 additions & 2 deletions docs/contexts.rst
@@ -1,6 +1,6 @@
.. _contexts:

.. currentmodule:: flaskext.sqlalchemy
.. currentmodule:: flask.ext.sqlalchemy

Introduction into Contexts
==========================
Expand All @@ -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()

Expand Down
2 changes: 1 addition & 1 deletion docs/index.rst
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion docs/models.rst
@@ -1,6 +1,6 @@
.. _models:

.. currentmodule:: flaskext.sqlalchemy
.. currentmodule:: flask.ext.sqlalchemy

Declaring Models
================
Expand Down
2 changes: 1 addition & 1 deletion docs/queries.rst
@@ -1,4 +1,4 @@
.. currentmodule:: flaskext.sqlalchemy
.. currentmodule:: flask.ext.sqlalchemy

Select, Insert, Delete
======================
Expand Down
4 changes: 2 additions & 2 deletions docs/quickstart.rst
Expand Up @@ -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
Expand All @@ -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'
Expand Down

0 comments on commit 087c3c0

Please sign in to comment.