I'm trying to establish one to many relation with auth_user, but i'm getting this error:
        
Traceback (most recent call last):
File "/home/chandra/dev/web2py/gluon/restricted.py", line 194, in restricted
    exec ccode in environment
File "/home/chandra/dev/web2py/applications/jobs/models/db.py", line 15, in <module>
    Field('org', db.auth_user),
  File "/home/chandra/dev/web2py/gluon/dal.py", line 4511, in __getattr__
    return self[key]
  File "/home/chandra/dev/web2py/gluon/dal.py", line 4505, in __getitem__
    return dict.__getitem__(self, str(key))
KeyError: 'auth_user'

Reply via email to