summaryrefslogtreecommitdiff
path: root/examples/association/basic_association.py
Commit message (Collapse)AuthorAgeFilesLines
* fix pep8 errors in association examplePaul Brown2017-03-181-6/+10
| | | | (cherry picked from commit 6aad7fb4217ef294f68f693be5b3137c28184949)
* - add a new sphinx extension "viewsource". takes advantage of part of the ↵Mike Bayer2013-11-091-1/+5
| | | | | | | | | viewcode extension to allow ad-hoc display of the source of any file, as well as a "directory listing" structure. - reorganize examples/ to take advantage of new extension. in particular, keep moving all the descriptive text for files etc. into module docstrings, taking more advantage of self-documentation.
* - the raw 2to3 runMike Bayer2013-04-271-3/+3
| | | | - went through examples/ and cleaned out excess list() calls
* -whitespace bonanza, contdMike Bayer2012-07-281-2/+2
|
* - Updated the association, association proxy examplesMike Bayer2011-03-131-82/+70
| | | | | | to use declarative, added a new example dict_of_sets_with_default.py, a "pushing the envelope" example of association proxy.
* - whitespace removal bonanzaMike Bayer2011-01-021-2/+2
|
* - remove remaining create_session() calls from examples, replace with SessionMike Bayer2010-10-241-6/+4
| | | | - replace all flush()/expunge_all() with commit()
* fix some examplesMike Bayer2010-03-281-1/+1
|
* - converted all lazy=True|False|None to 'select'|'joined'|'noload'Mike Bayer2010-03-241-1/+1
| | | | | - converted all eager to joined in examples - fixed beaker/advanced.py to reference RelationshipCache
* - The official name for the relation() function is nowMike Bayer2010-03-171-3/+3
| | | | | | relationship(), to eliminate confusion over the relational algebra term. relation() however will remain available in equal capacity for the foreseeable future. [ticket:1740]
* Lots of fixes to the code examples to specify imports explicitly.Michael Trier2009-03-311-9/+10
| | | | | | | Explicit imports make it easier for users to understand the examples. Additionally a lot of the examples were fixed to work with the changes in the 0.5.x code base. One small correction to the Case expression. Thanks a bunch to Adam Lowry! Fixes #717.
* Association example updates, round two.Jason Kirtland2007-08-221-10/+15
|
* basic 0.4 updateJason Kirtland2007-08-221-28/+26
|
* - Deprecated DynamicMetaData- use ThreadLocalMetaData or MetaData insteadJason Kirtland2007-07-061-1/+1
| | | | | - Deprecated BoundMetaData- use MetaData instead - Removed DMD and BMD from documentation
* - added an assertion within the "cascade" step of ORM relationships to checkMike Bayer2006-11-031-0/+104
that the class of object attached to a parent object is appropriate (i.e. if A.items stores B objects, raise an error if a C is appended to A.items) - new extension sqlalchemy.ext.associationproxy, provides transparent "association object" mappings. new example examples/association/proxied_association.py illustrates. - some example cleanup