summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/dialects/postgresql/pypostgresql.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2012-10-19 19:20:18 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2012-10-19 19:20:18 -0400
commit675558bffb3c58647cde2605186dd7d7d7d9e593 (patch)
tree62b19270c21cd42706fb5c01b3cf9aed1d296687 /lib/sqlalchemy/dialects/postgresql/pypostgresql.py
parent5cd1d774c2ed35eecd47cd189903640618ca89c3 (diff)
downloadsqlalchemy-675558bffb3c58647cde2605186dd7d7d7d9e593.tar.gz
- rework the sphinx customizations into distinct modules
- build a new Sphinx extension that allows dialect info to be entered as directives which is then rendered consistently throughout all dialect/dbapi sections - break out the "empty_strings" requirement for oracle test
Diffstat (limited to 'lib/sqlalchemy/dialects/postgresql/pypostgresql.py')
-rw-r--r--lib/sqlalchemy/dialects/postgresql/pypostgresql.py19
1 files changed, 6 insertions, 13 deletions
diff --git a/lib/sqlalchemy/dialects/postgresql/pypostgresql.py b/lib/sqlalchemy/dialects/postgresql/pypostgresql.py
index cf091b311..e7023610b 100644
--- a/lib/sqlalchemy/dialects/postgresql/pypostgresql.py
+++ b/lib/sqlalchemy/dialects/postgresql/pypostgresql.py
@@ -4,19 +4,12 @@
# This module is part of SQLAlchemy and is released under
# the MIT License: http://www.opensource.org/licenses/mit-license.php
-"""Support for the PostgreSQL database via py-postgresql.
-
-DBAPI
------
-
- http://python.projects.pgfoundry.org/
-
-Connecting
-----------
-
-Connect string format::
-
- postgresql+pypostgresql://user:password@host:port/dbname[?key=value&key=value...]
+"""
+.. dialect:: postgresql+pypostgresql
+ :name: py-postgresql
+ :dbapi: pypostgresql
+ :connectstring: postgresql+pypostgresql://user:password@host:port/dbname[?key=value&key=value...]
+ :url: http://python.projects.pgfoundry.org/
"""