also tried the alternate syntax for getting info from the db:

In [10] : print db(db.images_db.image).select()
Traceback (most recent call last):
  File "/home/cody/Downloads/web2py/gluon/contrib/shell.py", line 233, in 
run
    exec compiled in statement_module.__dict__
  File "<string>", line 1, in <module>
  File "/home/cody/Downloads/web2py/gluon/dal.py", line 6343, in __getattr__
    return self[key]
  File "/home/cody/Downloads/web2py/gluon/dal.py", line 6337, in __getitem__
    return dict.__getitem__(self, str(key))
KeyError: 'images_db'
In [11] : print db.has_key('images_db')
False


So I know 'db' doesn't have the key 'images_db'... so I suspect that is not 
the correct way to query that database for objects.

Reply via email to