[web2py] Re: Code change in oracle.py to allow joins in pagination.

2016-09-23 Thread 'tomt' via web2py-users
> > I'd be happy to give it a try, but I'm not sure what steps to take. When > I go to github and click on create new pull request it appears I have to > select a branch to compare to. I'm uncertain if I am supposed to select > admin, experimental, or enter a value of my own. Does web2py have

[web2py] Upload files folder setup

2016-09-23 Thread SR
When we upload a file via an upload field, by default it goes into the /web2py/applications/yourapp/uploads folder, can we specify a different folder in a remote server? -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) -

[web2py] Re: Is there a way to execute functions within functions without leaving the parent function?

2016-09-23 Thread Alex Glaros
those are good ideas but still require coding of conditional statements if reused by other functions requiring different variations.. Anyway, I guess the above Sept 22 method will work. Just wanted to make sure I wasn't missing some simple, built-in solution. -- Resources: - http://web2py.com

[web2py] Re: Is there a way to execute functions within functions without leaving the parent function?

2016-09-23 Thread Dave S
On Friday, September 23, 2016 at 10:32:37 AM UTC-7, Alex Glaros wrote: > > if there is no user prompt, then all that has to be done is a simple line > in the controller: > > select_country_manually(controller_to_return_to) > > but in this case user input is needed, so the above doesn't work. > >

[web2py] Re: Is there a way to execute functions within functions without leaving the parent function?

2016-09-23 Thread Alex Glaros
if there is no user prompt, then all that has to be done is a simple line in the controller: select_country_manually(controller_to_return_to) but in this case user input is needed, so the above doesn't work. how do other people handle this situation where a stack of user-prompt-related functio

[web2py] Looking for a web2py contractor

2016-09-23 Thread Jeff Lipkowitz
I'm looking for a web2py contractor with SOAP experience. Please send resumes and work experience examples to j...@redbrickanalytics.com -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2

[web2py] Re: Login page - Menu bar does not work

2016-09-23 Thread Anthony
On Wednesday, September 21, 2016 at 7:18:11 PM UTC-4, SR wrote: > > When I am in the Login page, the menu items does not work. > Any idea why it is not working? > Not clear how we could know without providing any details at all regarding your code, the exact behavior, and the steps to reproduce t

[web2py] Re: What's wrong here such that the delete query in accept() doesn't work at all?

2016-09-23 Thread Anthony
First, you should move all of that logic out of the view and into a controller. Have the controller generate a URL and a message, and just pass the URL and message to the view. This will make the code much easier to read, test, and debug. Second, if you just need to check whether some records e

[web2py] What's wrong here such that the delete query in accept() doesn't work at all?

2016-09-23 Thread Steve Joe
in view: {{if not (authdetails.id==auth.user_id):}} {{if db((db.friends.friend1==auth.user_id) & (db.friends.friend2==authdetails.id)).select() or db((db.friends.friend2==auth.user_id) & (db.friends.friend1==authdetails.id)).select():}} YOU BOTH ARE FRIENDS. {{elif db((db.friend_requests.

Re: [web2py] Re: Password Recovery Not Sending (lazyT object being passed to GAE?)

2016-09-23 Thread Mathieu Clabaut
I had a probably similar problem that I solved by patching pydal. See https://github.com/web2py/pydal/issues/403 and https://github.com/web2py/pydal/pull/404. However, as mention in the issue thread, the change shall be done in w