auth.signature is not a table. It is a list of fields which you are 
including in the demo_detail table.

On Tuesday, 21 May 2013 21:48:28 UTC-5, [email protected] wrote:
>
> hi all,
>
> I like to use table inheritance with auth.signature in my model. I see 
> that it is working, but it doesn't use utc time. So i added my own field.
>
> 1) Is this a recommended approach or there are other ways to modify 
> auth.signature?
>
> db.define_table('demo_detail',
>    Field('prototype_id', 'reference prototype',label='Prototype Title'),
>    Field('info','text'),
>    Field('storyboard', 'upload', label='Storyboard'),
>    Field('modified_on', 'datetime', update=request.utcnow, writable = 
> False),
>    Field('created_on', 'datetime', update=request.utcnow, writable = 
> False),
>    auth.signature
> )
>
> 2) I can't seem to see the auth.signature table in my appadmin. Where 
> should i modify it if needed?
> db.auth_user<http://127.0.0.1:8000/kdc_dev/appadmin/select/db?query=db.auth_user.id%3E0>New
>  
> Record <http://127.0.0.1:8000/kdc_dev/appadmin/insert/db/auth_user>
> db.auth_group<http://127.0.0.1:8000/kdc_dev/appadmin/select/db?query=db.auth_group.id%3E0>New
>  
> Record <http://127.0.0.1:8000/kdc_dev/appadmin/insert/db/auth_group>
> db.auth_membership<http://127.0.0.1:8000/kdc_dev/appadmin/select/db?query=db.auth_membership.id%3E0>New
>  
> Record <http://127.0.0.1:8000/kdc_dev/appadmin/insert/db/auth_membership>
> db.auth_permission<http://127.0.0.1:8000/kdc_dev/appadmin/select/db?query=db.auth_permission.id%3E0>New
>  
> Record <http://127.0.0.1:8000/kdc_dev/appadmin/insert/db/auth_permission>
> db.auth_event<http://127.0.0.1:8000/kdc_dev/appadmin/select/db?query=db.auth_event.id%3E0>New
>  
> Record <http://127.0.0.1:8000/kdc_dev/appadmin/insert/db/auth_event>
> db.auth_cas<http://127.0.0.1:8000/kdc_dev/appadmin/select/db?query=db.auth_cas.id%3E0>
>
> Thank for your help.
>
>
>

-- 

--- 
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].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to