[web2py] How to add variable in function which called inside ajax function

2018-08-30 Thread Константин Комков
Hello! It's work and I have my data. function showConcursInfo(data) { console.log(data); } ajax('{{=URL("load_additional_info")}}', ['foOne','facOne','cgOne','prOne'], showConcursInfo); But when I want to add variable in showConcursInfo() like that I saw only b and data - undefined function s

[web2py] Re: Form submit takes too long

2018-08-30 Thread Leonel Câmara
Apart from the obvious problem Anthony pointed. Are you using sqlite in a highly concurrent environment? -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) ---

[web2py] Pagination with web2py_utils

2018-08-30 Thread Mohammad Rostami
Hello.I used web2py_utils package to display paging. in controller: def weblog(): query= db.post.id > 0 orderby = ~db.post.created_on paginate = web2py_utils.paginate.Pagination(db, query, orderby ,display_count=2,r=request, res=response) posts=paginate

[web2py] Re: select all in grid and smargrid?

2018-08-30 Thread Sujata Aghor
Its not working like toggle though On Tuesday, March 12, 2013 at 6:44:09 AM UTC+5:30, Massimo Di Pierro wrote: > > select > all > > On Monday, 11 March 2013 19:01:50 UTC-5, Jack wrote: >> >> Hi all, >> >> I was playing around with selectables in the grid and smartgrid and found >> this example

[web2py] reference gives error table company has no column named....

2018-08-30 Thread mostwanted
I have a database which i recently updated by adding a new table called *tlamelo*, the new table is referenced in one of the old tables called *company, *when i try to save data into the table *company* i get the error bellow *(table company has no column named tlamelo)!* I do not understand w

[web2py] Server does not exist or access denied error connecting web2py to MS SQL server

2018-08-30 Thread Steve Lyle
I've read the book & plenty else offered by up on the little pits available on Prof. Google. And I just don't get it I guess. I'm on a Windows 10 Pro x64 box I'm running web2py from cmd as: """ cd c:\web2py python web2py web2py Web Framework Created by Massimo Di Pierro, Copyright 2007-2018 Versi

[web2py] Re: reference gives error table company has no column named....

2018-08-30 Thread Anthony
fake_migrate makes pyDAL think the model definition reflects the actual schema in the database. Presumably the field in question does not actually exist in the database. If that's the only field missing from the database, do the following: 1. Delete the *.table file for this table in the /da