NOT TESTED YET! Buildscript has not finished yet (needed about 18h until now).
Made `data/v2/__init__.py` and `config/local.py` python3 compatible.
Writen helper functions because of repeating code:
+ `process_csv`
+ `build_generic`
useage demonstrated with `_build_languages`.
Writen `with_iter` for closing files automatical
when the processing has finished.
Writen for each group of models a function (named `build_`groupname)
and a function `build_all` which calls these functions.
Filling out remaining data so Models have complete associations.
Data and models added for:
Pokemon
Moves
Pal Park
Berries
Regions
Pokeathlon
Contests
SuperContests
Items
Encounters
Locations
-Added models for Pokemon, Moves, and all other remaining models.
-Added new models to build script
-Build script will now clean and reset auto-incrementers for each table
in pokeapi_co_db
-Build script now runs against both postgres and sqlite (dev)
-Added all models to admin site registry
-Added instructions for building out db in README
-Added models for Pokemon, Moves, and all other remaining models.
-Added new models to build script
-Build script will now clean and reset auto-incrementers for each table
in pokeapi_co_db
-Build script now runs against both postgres and sqlite (dev)
-Some v2 cvs files had no data in them. Pulled in the data from veekun
where necessary.
-Added all models to admin site registry
-Added instructions for building out db in README