mirror of
https://github.com/veekun/pokedex.git
synced 2024-08-20 18:16:34 +00:00
Eagerload PokemonName.language.
This commit is contained in:
parent
7886c8188e
commit
4dcb6e0f4d
1 changed files with 1 additions and 1 deletions
|
@ -1579,7 +1579,7 @@ PokemonMove.machine = relation(Machine, backref='pokemon_moves',
|
|||
PokemonMove.move = relation(Move, backref='pokemon_moves')
|
||||
PokemonMove.method = relation(PokemonMoveMethod)
|
||||
|
||||
PokemonName.language = relation(Language)
|
||||
PokemonName.language = relation(Language, lazy='joined')
|
||||
|
||||
PokemonStat.stat = relation(Stat)
|
||||
|
||||
|
|
Loading…
Reference in a new issue