Apology for the late answer.  I was away for a few days.

This is the traceback:

Traceback (most recent call last):
  File "/home/js/web2py/gluon/restricted.py", line 224, in restricted
    exec ccode in environment
  File "/home/js/web2py/applications/init/models/db.py"
<http://localhost:8000/admin/default/edit/init/models/db.py>, line
131, in <module>
    akb_signature_uuid = db.Table(db, 'akb_signature_uuid',
  File "/home/js/web2py/gluon/dal/base.py", line 891, in __getattr__
    return ogetattr(self, key)
AttributeError: 'DAL' object has no attribute 'Table'


akb_signature_uuid = db.Table(db, 'akb_signature_uuid',
                     Field('uuid', length = 36, default =
lambda:str(uuid.uuid4()),
                           notnull = True, writable = False, readable =
False,
                           unique = True, ondelete = 'CASCADE'),
                     Field('created_on', 'datetime', default = request.now,
                           readable = False, writable = False),
                     Field('created_by', db.auth_user, default =
auth.user_id,
                           readable = False, writable = False),
                     Field('updated_on', 'datetime', default = request.now,
                           readable = False, writable = False),
                     Field('updated_by', db.auth_user, update =
auth.user_id,
                           readable = False, writable = False)
                     )

I know this is not necessary nowadays, but it was when I built the app.

Regards
Johann.


-- 
Because experiencing your loyal love is better than life itself,
my lips will praise you.  (Psalm 63:3)

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to