]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
edit
authorMike Bayer <mike_mp@zzzcomputing.com>
Sun, 17 Oct 2010 04:07:13 +0000 (00:07 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sun, 17 Oct 2010 04:07:13 +0000 (00:07 -0400)
lib/sqlalchemy/ext/declarative.py

index 57dff857ca4650e70b7b3c014d89a1275d02833b..debfdfe5712908e8acec71a9576471575b419cfb 100755 (executable)
@@ -589,7 +589,8 @@ keys, as a :class:`ForeignKey` itself contains references to columns
 which can't be properly recreated at this level.  For columns that 
 have foreign keys, as well as for the variety of mapper-level constructs
 that require destination-explicit context, the
-:func:`~.declared_attr` decorator is provided so that
+:func:`~.declared_attr` decorator (renamed from ``sqlalchemy.util.classproperty`` in 0.6.5) 
+is provided so that
 patterns common to many classes can be defined as callables::
 
     from sqlalchemy.ext.declarative import declared_attr
@@ -1370,7 +1371,7 @@ class declared_attr(property):
     a mapped property or special declarative member name.
 
     .. note:: @declared_attr is available as 
-      sqlalchemy.util.classproperty for SQLAlchemy versions
+      ``sqlalchemy.util.classproperty`` for SQLAlchemy versions
       0.6.2, 0.6.3, 0.6.4.
       
     @declared_attr turns the attribute into a scalar-like