Re: [web2py] Re: format='%(name)s' )

2015-03-24 Thread Richard Vézina
You may replace Field('product', db.product), by Field('product', 'reference product'), It may help and it is a better practice. Richard On Mon, Mar 23, 2015 at 9:16 AM, KPlusPlus wrote: > Thanks for noticing that , I've fixed it , but the problem still persist > and it indecats it's in format

[web2py] Re: format='%(name)s' )

2015-03-23 Thread KPlusPlus
The issue is in line 10 where "format='%(name)s')" , but what causes this issue ,That's why I'm asking ;) On Monday, March 23, 2015 at 4:50:01 AM UTC+3, Massimo Di Pierro wrote: > > which one is line 23? Perhaps some hidden character creeped in. > > On Sunday, 22 March 2015 20:43:08 UTC-5, KPlusP

[web2py] Re: format='%(name)s' )

2015-03-23 Thread KPlusPlus
Thanks for noticing that , I've fixed it , but the problem still persist and it indecats it's in format='%(name)s') Here is the updated code # -*- coding: utf-8 -*- #Products Table db.define_table=('product', Field('name', notnull=True, unique=True), Field('pric

[web2py] Re: format='%(name)s' )

2015-03-23 Thread Nico de Groot
It's a typing error: field is misspelled as filed... -- 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

[web2py] Re: format='%(name)s' )

2015-03-22 Thread Massimo Di Pierro
which one is line 23? Perhaps some hidden character creeped in. On Sunday, 22 March 2015 20:43:08 UTC-5, KPlusPlus wrote: > > Hello > > I'm having an issue while compiling a module file > > here is the code > > # -*- coding: utf-8 -*- > #Products Table > db.define_table=('product', >