From 8aa229cf84cea6934bd1a041f86dadd0304a58b6 Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Sun, 16 Oct 2011 14:24:29 -0400 Subject: [PATCH] link to declarative concrete helper doc --- doc/build/orm/inheritance.rst | 8 +++++--- 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 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 ^^^^^^^^^^^^^^^^^^^^^^^^^^^ -- 2.47.3