[web2py] DIV(*[DIV(k, syntax - this is working but I'm trying to follow...

2018-01-29 Thread wdtnh
>From the web2py manual, I've got the following working fine but I'm not clear on the DIV(* notation? Not comfortable using a method that I don't understand the syntax. I understand the DIV() built-in but the DIV(* part is unclear. Any clarification would be greatly appreciated. results = DI

[web2py] validate_and_update what am I missing???

2017-03-24 Thread wdtnh
Trying to to get the following working but for some reason getting a can't use keyword in expression error. It's also my understanding that validate_and_update should include fields that have actually changed??? Since this would be coming in as an ajax request, I'd rather not go through a bun

[web2py] web2py ajax function - checkbox form element value

2017-03-14 Thread wdtnh
I'm using the web2py ajax function and it works fine except that the 2nd argument of the ajax function which is a list of names for the form elements includes one that is a checkbox. The ajax submission passes along the value of "on" I know that the I don't if the ajax function will accept

[web2py] Getting 405 error on rest request in web2py

2017-02-22 Thread wdtnh
I'm getting the following error when I'm trying to submit a REST request from the browser to web2py. This application is running locally and the request is not originating from another domain. Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' he

[web2py] Re: Pulling hair out on REST Example

2016-06-21 Thread wdtnh
Been swamped with work and haven't had time to get bet back to this. Thanks for the reply. I will definitely try that. I'm assuming this is simply a stupid mistake on my part. On Thursday, June 16, 2016 at 5:26:01 AM UTC-4, pbreit wrote: > > How about trying some code more like in the bo

[web2py] Re: Pulling hair out on REST Example

2016-06-15 Thread wdtnh
and Javascript console (any errors)? > > On Wednesday, June 15, 2016 at 4:34:18 PM UTC-4, wdtnh wrote: >> >> I would appreciate any insights anyone might have on what I'm doing wrong >> here. For now just trying to get a simple REST GET request to work >> At this po

[web2py] Pulling hair out on REST Example

2016-06-15 Thread wdtnh
I would appreciate any insights anyone might have on what I'm doing wrong here. For now just trying to get a simple REST GET request to work At this point, I'm simply trying to get some data where the param is hard coded. Any help would be extremely appreciated. I'm not sure if my $.get is wro

[web2py] Re: web2py ajax javascript function question regarding return from post request

2015-06-05 Thread wdtnh
e and run. > > Anthony > > On Friday, June 5, 2015 at 9:08:27 AM UTC-4, wdtnh wrote: >> >> Appreciate any help one can offer. I have an web2py application where I >> need to perform using the custom web2py ajax function provided with web2py: >> >> ajax

[web2py] web2py ajax javascript function question regarding return from post request

2015-06-05 Thread wdtnh
Appreciate any help one can offer. I have an web2py application where I need to perform using the custom web2py ajax function provided with web2py: ajax(url, [name1, name2, ...], targetFunction). The post works fine on the server side but I was wondering if there is a way to use this functio

[web2py] AJAX function

2014-07-25 Thread wdtnh
I've got a fairly substantial page with a lot of data in it that I don't want to keep reloading the page so I'm using the AJAX function provided with web2py and pulling the data from a SQLFORM used in the view page. Question I have is, I'm using validate_and_insert function, I was wondering is

[web2py] Re: Embed html - I'm missing a step I think

2013-07-15 Thread wdtnh
s, 15 de julio de 2013 08:43:49 UTC-4, wdtnh escribió: >> >> I've used XML() to escape some very basic html tags (e.g., bold, italic) >> I have embedded in a string that comes from a database. In the view, I >> would like the affected text rendered accordingly but I&#x

[web2py] Embed html - I'm missing a step I think

2013-07-15 Thread wdtnh
I've used XML() to escape some very basic html tags (e.g., bold, italic) I have embedded in a string that comes from a database. In the view, I would like the affected text rendered accordingly but I'm only getting the string displayed with the tags shown e.g., Hi I'm bold. I would like the

[web2py] Re: Where did the auth_user table go (v. 2.4.x) that used to be in db.py

2013-04-18 Thread wdtnh
doh! Totally forgot about this - grthanks!!! -- --- 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 web2py+unsubscr...@googlegroups.com. For more options

[web2py] Where did the auth_user table go (v. 2.4.x) that used to be in db.py

2013-04-17 Thread wdtnh
I need to modify the auth_user table to add a field. It used to be in db.py file? Where is it defined now? thanks -- --- 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

[web2py] Stop/Start Web2py & upgrading web2py version on a live site

2013-04-16 Thread wdtnh
I need to upgrade the version of web2py on my live website (hosted by webfaction) to match the local development version. I want to be absolutely sure (as I'm not entirely clear) about a few things. 1. if I connect (via putty) to the live site, is there a specific instruction to stop and res

[web2py] Re: web2py keeps generating 100 users to auth_user table

2013-03-20 Thread wdtnh
never mind found the method in db_wizard_populate that was causing this to happen. -- --- 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 web2py+unsubscr...@go

[web2py] web2py keeps generating 100 users to auth_user table

2013-03-20 Thread wdtnh
I suspect I have a setting somewhere that's causing this to happen but when I delete the 100 generated users from auth_users table and then I run select again on auth_users, I get another 100 new generated users in the auth_table that I didn't create. Any ideas what might be causing this this?

[web2py] Re: Webfaction & web2py - upgraded to 2.3.2 and now nothing works remotely

2012-12-31 Thread wdtnh
Thanks but this does not appear to be case, I built everything from scratch (except controllers and views - which aren't the issue because there's nothing exotic going on there). When I did a fresh installation and rebuilt my website using SQLite and installed remotely, the problem went away.

[web2py] Re: Webfaction & web2py - upgraded to 2.3.2 and now nothing works remotely

2012-12-30 Thread wdtnh
k_reserved=['all'],migrate=False) then re-enter the URL and now I get auth_user table already exists error. The mysql database has already been created with the tables and then hit F5 again in the browser then I get the 504 error. On Sunday, December 30, 2012 6:09:17 PM UTC-5, wdtnh

[web2py] Webfaction & web2py - upgraded to 2.3.2 and now nothing works remotely

2012-12-30 Thread wdtnh
Upgraded my web2py application on webfaction to latest version 2.3.2. - actually did a clean installation of web2py both locally and remotely. Created a new version of the mysql database instance as well - both local and remotely. Clean installation locally as well including database. Every