mirror of
https://github.com/veekun/pokedex.git
synced 2024-08-20 18:16:34 +00:00
Give move changelogs a few more relations. #78
This commit is contained in:
parent
47d04b0c06
commit
6be23de775
1 changed files with 5 additions and 0 deletions
|
@ -1435,6 +1435,11 @@ Move.effect = markdown.MoveEffectProperty('effect')
|
||||||
Move.short_effect = markdown.MoveEffectProperty('short_effect')
|
Move.short_effect = markdown.MoveEffectProperty('short_effect')
|
||||||
|
|
||||||
MoveChangelog.changed_in = relation(VersionGroup, backref='move_changelog')
|
MoveChangelog.changed_in = relation(VersionGroup, backref='move_changelog')
|
||||||
|
MoveChangelog.move_effect = relation(MoveEffect, backref='move_changelog')
|
||||||
|
MoveChangelog.type = relation(Type, backref='move_changelog')
|
||||||
|
|
||||||
|
MoveChangelog.effect = markdown.MoveEffectProperty('effect')
|
||||||
|
MoveChangelog.short_effect = markdown.MoveEffectProperty('short_effect')
|
||||||
|
|
||||||
MoveEffect.category_map = relation(MoveEffectCategoryMap)
|
MoveEffect.category_map = relation(MoveEffectCategoryMap)
|
||||||
MoveEffect.categories = association_proxy('category_map', 'category')
|
MoveEffect.categories = association_proxy('category_map', 'category')
|
||||||
|
|
Loading…
Reference in a new issue