after change the db.users_group

I get this error in 1.79.2,

Traceback (most recent call last):
  File "C:\web2py\gluon\restricted.py", line 178, in restricted
    exec ccode in environment
  File "C:/web2py/applications/nano/models/db.py", line 269, in <module>
    db.users_group.access_types.requires=IS_IN_SET(['no','view','join'])
  File "C:\web2py\gluon\sql.py", line 1609, in __getattr__
    return dict.__getitem__(self,key)
KeyError: 'access_types'

before
when I use 

db.users_group.access_types=['no','view','join'], there are no errors.

I learn this from kpax, it sound access_type and public_fields are attirbute of
db.field, is it?

and still db.auth_event have same problem like I mentioned in last post.

thanks,
Frank


Reply via email to