]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- A little more verbiage to the "primaryjoin" error,
authorMike Bayer <mike_mp@zzzcomputing.com>
Thu, 30 Dec 2010 17:20:03 +0000 (12:20 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 30 Dec 2010 17:20:03 +0000 (12:20 -0500)
commit306c6412d33999032a9697bab79298ad6c5caaa2
tree2d43fdeec114060d1e117d56df820916c3d17e70
parent93549e51676532fa9a33a8bcf1a8d8ae97b7999e
- A little more verbiage to the "primaryjoin" error,
in an unusual condition that the join condition
"works" for viewonly but doesn't work for non-viewonly,
and foreign_keys wasn't used - adds "foreign_keys" to
the suggestion.  Also add "foreign_keys" to the
suggestion for the generic "direction" error.
CHANGES
lib/sqlalchemy/orm/properties.py
test/orm/test_relationships.py