diff options
-rw-r--r-- | doc/build/orm/inheritance.rst | 8 | ||||
-rwxr-xr-x | lib/sqlalchemy/ext/declarative.py | 2 |
2 files changed, 7 insertions, 3 deletions
diff --git a/doc/build/orm/inheritance.rst b/doc/build/orm/inheritance.rst index 351a493cc..5f9a28671 100644 --- a/doc/build/orm/inheritance.rst +++ b/doc/build/orm/inheritance.rst @@ -528,9 +528,11 @@ Upon select, the polymorphic union produces a query like this: ) AS pjoin [] -For a recipe that sets up concrete inheritance using declarative, see the `DeclarativeAbstractConcreteBase -<http://www.sqlalchemy.org/trac/wiki/UsageRecipes/DeclarativeAbstractConcreteBase>`_ recipe on the wiki. -Other helpers for concrete inheritance with declarative are currently under development. +Concrete Inheritance with Declarative +++++++++++++++++++++++++++++++++++++++ + +As of 0.7.3, the :ref:`declarative_toplevel` module includes helpers for concrete inheritance. +See :ref:`declarative_concrete_helpers` for more information. Using Relationships with Inheritance ------------------------------------ diff --git a/lib/sqlalchemy/ext/declarative.py b/lib/sqlalchemy/ext/declarative.py index a7a478ddf..ecd620a75 100755 --- a/lib/sqlalchemy/ext/declarative.py +++ b/lib/sqlalchemy/ext/declarative.py @@ -459,6 +459,8 @@ before the class is built:: __table__ = managers __mapper_args__ = {'polymorphic_identity':'manager', 'concrete':True} +.. _declarative_concrete_helpers: + Using the Concrete Helpers ^^^^^^^^^^^^^^^^^^^^^^^^^^^ |