mirror of
https://github.com/veekun/pokedex.git
synced 2024-08-20 18:16:34 +00:00
Order move changelogs descendingly.
This commit is contained in:
parent
cb1a47242a
commit
cfd9a9aa3a
1 changed files with 1 additions and 1 deletions
|
@ -1375,7 +1375,7 @@ Machine.item = relation(Item)
|
||||||
Machine.version_group = relation(VersionGroup)
|
Machine.version_group = relation(VersionGroup)
|
||||||
|
|
||||||
Move.changelog = relation(MoveChangelog,
|
Move.changelog = relation(MoveChangelog,
|
||||||
order_by=MoveChangelog.changed_in_version_group_id.asc(),
|
order_by=MoveChangelog.changed_in_version_group_id.desc(),
|
||||||
backref='move',
|
backref='move',
|
||||||
)
|
)
|
||||||
Move.contest_effect = relation(ContestEffect, backref='moves')
|
Move.contest_effect = relation(ContestEffect, backref='moves')
|
||||||
|
|
Loading…
Reference in a new issue