diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2011-10-16 14:24:29 -0400 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2011-10-16 14:24:29 -0400 |
commit | 8aa229cf84cea6934bd1a041f86dadd0304a58b6 (patch) | |
tree | f95e36a4e5bad0aae845e14cb5d7512eb5c2b523 | |
parent | 00ceaa731fca38a392fe19449a3dc5da8e6511a7 (diff) | |
download | sqlalchemy-8aa229cf84cea6934bd1a041f86dadd0304a58b6.tar.gz |
link to declarative concrete helper docrel_0_7_3
-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 ^^^^^^^^^^^^^^^^^^^^^^^^^^^ |