summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/ext/declarative.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2010-03-17 20:49:41 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2010-03-17 20:49:41 -0400
commit50bea2e0e8d4ffa30e4f94ea21748e7ff57d0c0a (patch)
tree051d3582d9252ee4a55d6191592acd0525663c0e /lib/sqlalchemy/ext/declarative.py
parentb9c8ee00135587f05c8c8d91d93f66c1ac3dc2b6 (diff)
downloadsqlalchemy-50bea2e0e8d4ffa30e4f94ea21748e7ff57d0c0a.tar.gz
if anybody complains that they didn't know it was called "relation" in 0.5, why..I'll eat my hat !
Diffstat (limited to 'lib/sqlalchemy/ext/declarative.py')
-rw-r--r--lib/sqlalchemy/ext/declarative.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/sqlalchemy/ext/declarative.py b/lib/sqlalchemy/ext/declarative.py
index c6423e7a0..0f5518045 100644
--- a/lib/sqlalchemy/ext/declarative.py
+++ b/lib/sqlalchemy/ext/declarative.py
@@ -100,8 +100,11 @@ Configuring Relationships
=========================
Relationships to other classes are done in the usual way, with the added
-feature that the class specified to :func:`~sqlalchemy.orm.relationship()`
-may be a string name. The "class registry" associated with ``Base``
+feature that the class specified to :func:`~sqlalchemy.orm.relationship`
+may be a string name (note that :func:`~sqlalchemy.orm.relationship` is
+only available as of SQLAlchemy 0.6beta2, and in all prior versions is known
+as :func:`~sqlalchemy.orm.relation`,
+including 0.5 and 0.4). The "class registry" associated with ``Base``
is used at mapper compilation time to resolve the name into the actual
class object, which is expected to have been defined once the mapper
configuration is used::