[web2py] Re: upload and download, in order to manage attached files

2017-05-17 Thread Dave S
On Wednesday, May 17, 2017 at 9:57:50 AM UTC-7, J-Michel Angers wrote: > > Hi, > I'm building an app to fill "PurchaseRequest", to valid it by the staff, > and then type a "PurchaseOrder". Exactly like with a paper form that we > fill, and get signatures to valid it. > Now the main boby of the

[web2py] which is the correct way to add validations to SQLFORM.factory?

2017-05-17 Thread Santiago Cartasegna
I am creating a form using SQLFORM.factory and I have diferent problems: 1 - I can't make "invisible" some values (that i Autofill later) 2- I can't add extraValidations to the Form (as I do when a create a sqlsmartgrid form). I use SQLFORM because I use the ID of the inserted row to make an in

[web2py] Re: Newbie to Web2Py...Integration with Bootstrap3...PyCharm How-To's

2017-05-17 Thread Dave S
On Tuesday, May 16, 2017 at 8:22:19 PM UTC-7, pbreit wrote: > On Saturday, May 13, 2017 at 1:53:42 PM UTC-7, Christopher wrote: >> >> Greetings, >> >> I'm a WEB2PY newbie and I'm looking to quickly prototype a web >> application. >> >> I'm hoping to use http://www.layoutit.com/ with Bootstrap 3

[web2py] Re: Define table but not add it to the database

2017-05-17 Thread Dave S
On Wednesday, May 17, 2017 at 1:58:04 AM UTC-7, lyn2py wrote: > > Please bear with me while I explain my use case: > > I have a list of "standard" websites, like all the major search engines. > Traditionally, I can make do with a python list, like so: > > list_of_sites =['google.com','yahoo.com'

[web2py] Re: email not sent

2017-05-17 Thread Ron Chatterjee
This have done the trick! thank you - PA https://www.google.com/accounts/DisplayUnlockCaptcha On Wednesday, May 17, 2017 at 10:03:51 AM UTC-4, Ron Chatterjee wrote: > > I did all of that. Gmail is set as less secured. Here is the app and > instruction to make it to work locally (local server)

[web2py] Re: jqmobile issue

2017-05-17 Thread Massimo Di Pierro
please try the js console. what is it calling in background? do any call result in an error/ticket? On Tuesday, 9 May 2017 23:54:42 UTC-5, Maurice Waka wrote: > > Am having a problem displaying views on mobile interface. I keep getting a > black blank screen. > See attachment. > I have the lates

[web2py] upload and download, in order to manage attached files

2017-05-17 Thread J-Michel Angers
Hi, I'm building an app to fill "PurchaseRequest", to valid it by the staff, and then type a "PurchaseOrder". Exactly like with a paper form that we fill, and get signatures to valid it. Now the main boby of the app works (fill the form, set/choose the route, send emails to the concerned persons

[web2py] Re: How to get the value of a submitted form in the controller action [URGENT]

2017-05-17 Thread Anthony
Doesn't look like you read the ajax() function documentation: http://web2py.com/books/default/chapter/29/11/jquery-and-ajax#The-ajax-function. The second argument is a list of form field names to be posted to the URL provided in the first argument. On Wednesday, May 17, 2017 at 2:47:12 AM UTC-

[web2py] Re: Define table but not add it to the database

2017-05-17 Thread Anthony
Note, you could consider storing this table in its own separate SQLite database, but then you won't be able to have tables in other databases reference it and do joins with it (you would have to manage relationships and joins in your Python app code). Anthony On Wednesday, May 17, 2017 at 8:12

[web2py] Re: Define table but not add it to the database

2017-05-17 Thread Anthony
> > In summary, I am using sqlite db. There is a table that I don't wish to > store in the sqlite db, but yet have that particular table data be served / > accessed like a normal table (as if from the db). Is that possible, and how > can I achieve this? > I don't think so. If you need to have

[web2py] Re: Define table but not add it to the database

2017-05-17 Thread lyn2py
Please bear with me while I explain my use case: I have a list of "standard" websites, like all the major search engines. Traditionally, I can make do with a python list, like so: list_of_sites =['google.com','yahoo.com',...] However, the code base has evolved and it's much better to have othe

[web2py] Re: Define table but not add it to the database

2017-05-17 Thread Sundar
You still need somewhere to 'store' it. Rght? May be you can create another SQLITE DB (say db1) and use it for your purpose. (Of course, 'join'ing with db1 table data will have to be done through your program). On Tuesday, May 16, 2017 at 5:46: