Decide the final database model for all the needed entities and data. Especially, whether to use in-memory python object static data or populate a database on start-up.
in-memory python object
pros:
no additional loading to the database and transformation of data
faster than disk read
cons:
a bit awkward database scheme (not even 1NF)
lot of working around managing the python objects
database populated on start-up
pros:
more intuitive work with the data
Django and REST framework expect Django Models a lot
localization though Django
cons:
possibly slower access
. requires conversion from python object do Django Model
Decide the final database model for all the needed entities and data. Especially, whether to use in-memory python object static data or populate a database on start-up.
in-memory python object pros:
cons:
database populated on start-up pros:
cons: