[ADD] Prefill move_type

Precreate move_type and fill with appropriate values to prevent
a MemoryError when the ORM attempts to call its compute method on a large
amount of preexisting moves.
This commit is contained in:
Stefan Rijnhart
2020-01-03 14:44:30 +01:00
committed by Borruso
parent a16df11ecb
commit 6cf151aa48
3 changed files with 77 additions and 0 deletions

View File

@@ -2,3 +2,4 @@
from . import models
from . import wizard
from .hooks import pre_init_hook