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
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
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
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
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',
>
5 matches
Mail list logo