here is my error :
Traceback (most recent call last):
File "gluon/restricted.py", line 205, in restricted
File
"C:/Users/Bussiere/Dropbox/Projets/Yuki/web2py/applications/init/models/db.py"
<http://127.0.0.1:8000/admin/default/edit/init/models/db.py>, line 327, in
<module>
File "gluon/dal.py", line 6320, in define_table
File "gluon/dal.py", line 638, in create_table
SyntaxError: Field: unknown field type: float for Price
<type 'exceptions.SyntaxError'>(Field: unknown field type: float for Price)
db.define_table('Cour',
Field <http://127.0.0.1:8000/examples/global/vars/Field>('id'),
Field <http://127.0.0.1:8000/examples/global/vars/Field>('Price', 'float'),
format = '%(Price)d')
db.define_table('Currency',
Field <http://127.0.0.1:8000/examples/global/vars/Field>('Name',
unique=True),
Field <http://127.0.0.1:8000/examples/global/vars/Field>('Cour', db.Cour),
format = '%(Name)s')
db.define_table('Price',
Field <http://127.0.0.1:8000/examples/global/vars/Field>('Name'),
Field <http://127.0.0.1:8000/examples/global/vars/Field>('Currency',
db.Currency),
Field <http://127.0.0.1:8000/examples/global/vars/Field>('Amount', 'float'),
format = '%(Price,Currency)s')
I ruly don't understand i did as in the tutorial