[web2py] DAL's fake_migrat and fake_migrate_all and migration problem with auth tables

2019-01-04 Thread icodk
First both fake_migrate and fake_migrate_all are part of the DAL signature in the book, However fake_migrate is only explained when it is used in a table definition, not in DAL. Second issue that might be related: I try to move web2py application to another server, including a pg database in

[web2py] Re: Customizing detail view (grid)

2019-01-04 Thread 黄祥
perhaps you can use conditional to check request.args value *e.g.* if 'view' in request.args: do_whatever_you_want best regards, stifan -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2p

Re: [web2py] Re: private functions

2019-01-04 Thread Eliezer (Vlad) Tseytkin
It's very clear, Thank you! On Fri, Jan 4, 2019, 4:07 PM Dave S > > On Thursday, January 3, 2019 at 8:51:30 PM UTC-8, Anthony wrote: >> >> On Thursday, January 3, 2019 at 11:32:27 PM UTC-5, Vlad wrote: >> > Here is a quote from THE BOOK: "Functions that take arguments or start >> with a double un

[web2py] Re: private functions

2019-01-04 Thread Dave S
On Thursday, January 3, 2019 at 8:51:30 PM UTC-8, Anthony wrote: > > On Thursday, January 3, 2019 at 11:32:27 PM UTC-5, Vlad wrote: > > Here is a quote from THE BOOK: "Functions that take arguments or start > with a double underscore are not publicly exposed and can only be called by > other f

[web2py] Customizing detail view (grid)

2019-01-04 Thread Vlad
How would I customize a details view which is brought up by the grid when "view/detail" button is clicked when the grid has "details=True" parameter set? (I just want to add more information there, but not straight from the table the grid is based on) -- Resources: - http://web2py.com - http:/

[web2py] can access web2py app even if it's disabled

2019-01-04 Thread Shawn Michaels
Hi, I just noticed, I can access disabled app. when I connect from local network with /etc/hosts file edited like this: [server IP] [disabled.address] The page: Temporarily down for maintenance is displayed When I comment the hosts line out I can connect to disabled site. Do anybody know why or