Amazon Query Tables - robertervin/amazon-project GitHub Wiki

In amazon-project/scripts/get_query_tables.py, set the start and end values to the depth you want to search in (depth is an field of a Category object).

This can be run by the following commands:

python manage.py shell

In the python shell, run:

execfile("scripts/get_query_tables.py")

This will then take a Long time to run, likely many hours to days, depending on the amount of category objects at that depth.