summaryrefslogtreecommitdiff
path: root/examples/generic_associations
Commit message (Collapse)AuthorAgeFilesLines
* - Improved the examples in ``examples/generic_associations``, includingMike Bayer2013-07-195-50/+196
| | | | | | | | | | | | | | | that ``discriminator_on_association.py`` makes use of single table inheritance do the work with the "discriminator". Also added a true "generic foreign key" example, which works similarly to other popular frameworks in that it uses an open-ended integer to point to any other table, foregoing traditional referential integrity. While we don't recommend this pattern, information wants to be free. Also in 0.8.3. - Added a convenience class decorator :func:`.as_declarative`, is a wrapper for :func:`.declarative_base` which allows an existing base class to be applied using a nifty class-decorated approach. Also in 0.8.3.
* whack more long lines in very old docstringsMike Bayer2013-02-021-1/+2
|
* -whitespace bonanza, contdMike Bayer2012-07-284-41/+41
|
* update docs for generic associationsMike Bayer2011-04-281-3/+10
|
* - removed the ancient "polymorphic association"Mike Bayer2011-04-274-0/+378
examples and replaced with an updated set of examples that use declarative mixins, "generic_associations". Each presents an alternative table layout.