*hello, * * am new to web2py and coming up with the ff errors* Error ticket for "contractapp"Ticket ID
12.229.79.151.2014-03-05.21-18-34.c56c8936-772c-453b-b2f2-7d4d2042bff7 <type 'exceptions.AttributeError'> 'DAL' object has no attribute 'contract'Versionweb2py™Version 2.8.2-stable+timestamp.2013.11.28.13.54.07PythonPython 2.7.5+: /usr/local/bin/uwsgi (prefix: /usr)Traceback 1. 2. 3. 4. 5. 6. 7. 8. 9. Traceback (most recent call last): File "/home/koffidossou/web2py/gluon/restricted.py", line 217, in restricted exec ccode in environment File "/home/koffidossou/web2py/applications/contractapp/controllers/default.py" <https://koffidossou.pythonanywhere.com/admin/default/edit/contractapp/controllers/default.py>, line 18, in <module> form=SQLFORM(db.contract) File "/home/koffidossou/web2py/gluon/dal.py", line 8245, in __getattr__ return ogetattr(self, key) AttributeError: 'DAL' object has no attribute 'contract' Below is my db.py *************** # -*- coding: utf-8 -*- db =DAL('sqlite://storage.db',do_connect=False) db.define_table('Contract', Field ("Contract_id"), Field('Contract_date'), Field('Contract_type'), Field('Company_name'), Field('Contract_amount') ) -- 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/groups/opt_out.