[web2py] Re: Get Date and Time from db

2015-11-07 Thread Garry Smith
On Friday, 6 November 2015 14:35:10 UTC, Garry Smith wrote: > > > Hi > Thanks for your replies, is something I'm doing at work, so will take a look Monday. G Smith > > I'm trying to something rarely simple, but I'm not getting the results > what are in the database. > I have a Date field

Re: [web2py] Re: !! NEW ADMIN !!

2015-11-07 Thread samuel bonill
The new GitHub repository : https://github.com/SamuelBonilla/admin_plus El nov 7, 2015 7:14 AM, "Alessio Varalta" < alessio.vara...@ethicalsoftware.it> escribió: > Hi, The github repository of the plugin is down! I go to the link and I > don't be able to download > > On Sunday, 18 May 2014

[web2py] Re: Submit button inactive after displaying pdf-file with return response.stream(...

2015-11-07 Thread Anthony
The problem is that web2py.js automatically disables the submit buttons on forms after clicking, but it does not re-enable them unless the form is submitted via Ajax (under the assumption that a non-Ajax form submission will result in a new page being loaded in the browser, making it

[web2py] Re: () appadmin

2015-11-07 Thread Alessio Varalta
Thank you for the answer..Yes I think probably is format = '%(partenza)s,%(partenza)s' I am at the end of the program and this was a bad problem. Thank you very much this forum is good On Saturday, 7 November 2015 02:46:32 UTC+1, DenesL wrote: > > Without trying out the code I think the

[web2py] Re: Submit button inactive after displaying pdf-file with return response.stream(...

2015-11-07 Thread Karl Florian
Hi, maybe some Pictures can demonstrate what i mean.The source code is also attached: This excample is of my Countries Report.

[web2py] Admin plus plugin github page not found

2015-11-07 Thread Alessio Varalta
Hi, I see this plugin Admin plus http://www.web2pyslices.com/slice/show/1937/admin-plus that is also on download plugin of web2py but in both case there isn't a correct download. Where I can find this plugin? -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) -

[web2py] Re: what is security impact of custom db.auth_group table?

2015-11-07 Thread Alex Glaros
okay, what I will do is keep db.auth_auth for shared/common roles, and create a new table for each organization's custom roles. Not 3NF but scales. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) -

[web2py] Re: test for integer in form

2015-11-07 Thread Alex Glaros
to summarize question: Is there a way to phrase requires clause like this? db.auth_group.role.requires = not IS_INT_IN_RANGE(-sys.maxint -1, sys.maxint) thanks, Alex -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) -

Re: [web2py] Re: format parameter not working?

2015-11-07 Thread Marvi Benedet
"format" vs "Format" solved! My lack of attention :( Really thanks Anthony Il giorno sabato 7 novembre 2015 04:07:25 UTC+1, Anthony ha scritto: > > Maybe you can explain in more detail exactly what you are observing and > what you expect instead. In general, though, you should define referenced

[web2py] Re: [SQLFORM.grid] fields order in view / request.args(0)

2015-11-07 Thread Anthony
> > 1) Using the commented line, the view is working but if I edit/profile, I > get a ticket error with: ValueError: invalid literal for long() with base > 10: 'edit' > with or without the args. I cannot find why. > Because the grid uses URL args to determine the action being requested, you

[web2py] dbstats with oracle doesn't show sql selects or timing

2015-11-07 Thread 'tomt' via web2py-users
Hi, I'm using web2py 2.12.3 connecting to oracle 10.2 I tried to use the dbstat function of {{=response.toolbar()}} to examine database performance, but the sql select and its timing isn't printed. This feature works as expected when I'm connecting to a mysql database. Is this a bug, or just

[web2py] [SQLFORM.grid] fields order in view / request.args(0)

2015-11-07 Thread Mamisoa Andriantafika
[SQLFORM.grid] fields order in view / request.args(0) Hi, I have 2 questions relative to this controller: def p_list(): # i = request.args(0) or 7 // not working, invalid literal base 10 on edit/profile i = 7 grid = SQLFORM.grid(db.auth_membership.group_id==i,

Re: [web2py] [SQLFORM.grid] fields order in view / request.args(0)

2015-11-07 Thread Vinicius Assef
I didn't understand your 1st question. To solve your 2nd problem, pass the `fields` argument as a list. -- Vinicius Assef On 7 November 2015 at 21:53, Mamisoa Andriantafika wrote: > [SQLFORM.grid] fields order in view / request.args(0) > > Hi, > > I have 2 questions

[web2py] Oracle perfomance issues with version 2.12.3

2015-11-07 Thread 'tomt' via web2py-users
Hi, I encountered really slow responses when I was using my web2py app to access an oracle database. I tried to use dbstats in response.toolbar to measure this, but it wouldn't show the sql or any timing information. I decided to try downgrading to an older web2py version, 2.11.2, and