From: Mike Bayer Date: Sun, 16 Oct 2011 18:24:29 +0000 (-0400) Subject: link to declarative concrete helper doc X-Git-Tag: rel_0_7_3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8aa229cf84cea6934bd1a041f86dadd0304a58b6;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git link to declarative concrete helper doc --- diff --git a/doc/build/orm/inheritance.rst b/doc/build/orm/inheritance.rst index 351a493cca..5f9a28671a 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 -`_ 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 a7a478ddfb..ecd620a758 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 ^^^^^^^^^^^^^^^^^^^^^^^^^^^