Permalink
Browse files

Fix documentation.

  • Loading branch information...
1 parent 5a3a435 commit 9a56cd9a7ad40e4fa3c4dd85d5dcd56ebe62d4fd @sirn committed Mar 18, 2011
Showing with 3 additions and 3 deletions.
  1. +3 −3 docs/index.rst
View
@@ -45,14 +45,14 @@ Setting up Flask-CouchDBKit is easy::
author = couchdb.StringProperty()
content = couchdb.StringProperty()
-In case you want late-binding of a `CouchDBKit` object, you can use
+In case you want late-binding of a :class:`CouchDBKit` object, you can use
:meth:`CouchDBKit.init_app` to bind it to your `app` object after it has been
created::
- from flask import Flask
+ from flaskext.couchdbkit import CouchDBKit
couchdb = CouchDBKit()
- from flaskext.couchdbkit import CouchDBKit
+ from flask import Flask
app = Flask(__name__)
couchdb.init_app(app)

0 comments on commit 9a56cd9

Please sign in to comment.