projects
/
zzz-pokedex.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 2:
20b21d9
)
Merge branch 'encukou'
author
Eevee
<git@veekun.com>
Wed, 6 Apr 2011 04:04:32 +0000
(21:04 -0700)
committer
Eevee
<git@veekun.com>
Wed, 6 Apr 2011 04:04:32 +0000
(21:04 -0700)
pokedex/db/multilang.py
patch
|
blob
|
history
diff --git
a/pokedex/db/multilang.py
b/pokedex/db/multilang.py
index
bd4266f
..
3274f61
100644
(file)
--- a/
pokedex/db/multilang.py
+++ b/
pokedex/db/multilang.py
@@
-99,7
+99,8
@@
def create_translation_table(_table_name, foreign_class, relation_name,
'foreign_id': synonym(foreign_key_name),
'local_language': relationship(language_class,
primaryjoin=table.c.local_language_id == language_class.id,
- innerjoin=True),
+ innerjoin=True,
+ lazy='joined'),
})
# Add full-table relations to the original class