[web2py] Schema for auth table

2020-06-20 Thread Deep Shah
Hi Team, I have 2 schemas A and B. Default schema for user is A. I am using postgres. I have authetication table in schema B. When i run application auth.define_tables create auth table in schema A. What should i do to make it refer auth tables in schema B rather than creating in A. Please he

Re: [web2py] Composite key in web2py

2019-08-20 Thread Deep Shah
Data is coming from data source which is cannot be editted and hence cannot add id in table . So is there any other way where i can use table with primary keys? On Tuesday, August 20, 2019 at 11:46:04 AM UTC+5:30, Johann Spies wrote: > > > > On Tue, 20 Aug 2019 at 07:00, Deep Sha

[web2py] Composite key in web2py

2019-08-19 Thread Deep Shah
Hi All, I am migrating table from existing table which has primary key with two fields. After migrating the table i created SQLFORM.grid and used selectable to process the selected tuples. selectable = [('Approve Selected names', lambda ids: approve_name(ids))] Its giving the following error. '