Now, I am getting another error.

#model
db.define_table('organization_info',
Field('name'),
Field('date_of_birth', 'date'),
Field('village'),
Field('block'),
Field('district'),
Field('state'),
Field('country'),
Field('pin'),
auth.signature()
)




On Sat, Sep 21, 2019 at 9:07 PM Massimo Di Pierro <
[email protected]> wrote:

> Minor change of behavior. In py4web you need auth.signature() notice the ()
>
> On Saturday, 21 September 2019 07:20:02 UTC-7, sandeep patel wrote:
>>
>> Hello,
>>
>> I am getting an error to add auth.signature in the table.
>>
>> #model.py
>> from . import common
>> auth = common.auth
>>
>> db.define_table('organization_info',
>> Field('name'),
>> Field('date_of_birth', 'date'),
>> Field('village'),
>> Field('block'),
>> Field('district'),
>> Field('state'),
>> Field('country'),
>> Field('pin'),
>> auth.signature
>> )
>>
>>
>>
>> Thanks
>> SP
>>
> --
> 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 [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/web2py/48a3766b-dbac-4841-88f6-695e4f124d8f%40googlegroups.com
> <https://groups.google.com/d/msgid/web2py/48a3766b-dbac-4841-88f6-695e4f124d8f%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/CA%2BvcePVzJ-oM6WQKKBtyKQ_PkGHJ9qwGOu%2BTP%2Bv%2BOE-TzQduzw%40mail.gmail.com.

Reply via email to