diff options
author | Vraj Mohan <r.vrajmohan@gmail.com> | 2013-11-13 09:40:17 -0500 |
---|---|---|
committer | Vraj Mohan <r.vrajmohan@gmail.com> | 2013-11-13 09:40:17 -0500 |
commit | 6dc72a1355dbebd8676481a2530c6e558fc403a9 (patch) | |
tree | 920d3617b0398bc8944189a6f036474ee454190a | |
parent | be303fe03f4db28d5c78ef7df8fb97200ba5e243 (diff) | |
download | sqlalchemy-6dc72a1355dbebd8676481a2530c6e558fc403a9.tar.gz |
Ensure API doc for make_url and resolve references
-rw-r--r-- | doc/build/changelog/changelog_07.rst | 2 | ||||
-rw-r--r-- | doc/build/core/engines.rst | 2 | ||||
-rw-r--r-- | lib/sqlalchemy/engine/url.py | 4 |
3 files changed, 5 insertions, 3 deletions
diff --git a/doc/build/changelog/changelog_07.rst b/doc/build/changelog/changelog_07.rst index 35e443bf2..67d044983 100644 --- a/doc/build/changelog/changelog_07.rst +++ b/doc/build/changelog/changelog_07.rst @@ -11,7 +11,7 @@ :tickets: 2851 :versions: 0.8.3, 0.9.0b1 - The regexp used by the :func:`~.sqlalchemy.engine.url.make_url` function now parses + The regexp used by the :func:`~sqlalchemy.engine.url.make_url` function now parses ipv6 addresses, e.g. surrounded by brackets. .. change:: diff --git a/doc/build/core/engines.rst b/doc/build/core/engines.rst index 5b315fc39..8d34ab5c6 100644 --- a/doc/build/core/engines.rst +++ b/doc/build/core/engines.rst @@ -87,6 +87,8 @@ known driver available for that backend (i.e. cx_oracle, pysqlite/sqlite3, psycopg2, mysqldb). For Jython connections, specify the `zxjdbc` driver, which is the JDBC-DBAPI bridge included with Jython. +.. autofunction:: sqlalchemy.engine.url.make_url + Postgresql ---------- diff --git a/lib/sqlalchemy/engine/url.py b/lib/sqlalchemy/engine/url.py index 74584b787..8f84ab039 100644 --- a/lib/sqlalchemy/engine/url.py +++ b/lib/sqlalchemy/engine/url.py @@ -24,8 +24,8 @@ class URL(object): Represent the components of a URL used to connect to a database. This object is suitable to be passed directly to a - ``create_engine()`` call. The fields of the URL are parsed from a - string by the ``module-level make_url()`` function. the string + :func:`~sqlalchemy.create_engine` call. The fields of the URL are parsed from a + string by the :func:`.make_url` function. the string format of the URL is an RFC-1738-style string. All initialization parameters are available as public attributes. |