It seems that you are not querying right, last = db().select(db.distributors.ALL)
it seems it should be,
## this is how I usually grab the entire table ##
last = db(db.distributors.id>0).select()
then display your object in the view like this,
{{for i in last:}}
{{=i.upline_id}}
{{=i.display_name}}
{{pass}}
Can somebody else correct me if I am wrong? i am used to having to
deal with the google datastore.

