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.