@pbreit
I found the mistake. I wrote string instead of integer for rent and size.
Thank you for helping.
On Monday, July 4, 2016 at 9:56:18 AM UTC+5:30, pbt wrote:
>
> @pbreit
> I tried your code,it did not work.It works for sorting by location.
> In models
> db.define_table('listspace',
> Fie
@pbreit
I tried your code,it did not work.It works for sorting by location.
In models
db.define_table('listspace',
Field('warehouse_location','string'),
Field('warehouse_totalsize','string'),
Field('contract_rent','string'))
In controller
def GetAllApprovedWarehouses():
print request.va
In models,I have only 1 table.By multiple tables,I mean multiple tables in
view.I found a jquery plugin for sorting data in a single table.That is why
I wrote multiple tables so that no one will suggest jquery plugin for that.
I tried your code but it is not working. Can you please tell if I have
@pbreit
In models,I have only 1 table.By multiple tables,I mean multiple tables in
view.I found a jquery plugin for sorting data in a single table.That is why I
wrote multiple tables so that no one will suggest jquery plugin for that.
--
Resources:
- http://web2py.com
- http://web2py.com/book
In models,I have only 1 table.By multiple tables,I mean multiple tables in
view.I found a jquery plugin for sorting data in a single table.That is why I
wrote multiple tables so that no one will suggest jquery plugin for that.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Document
We might need to see some of your code, specifically your models.
Why do you have multiple tables?
I could see you having one table called "property" such as:
db.define_table('property',
Field('location'),
Field('size'),
Field('rent'))
And then in your controller:
def search():
if requ
I have a script that posts data to a third party form via PhantomJS. It
runs just fine on selenium in the python shell and when I run it in the W2P
shell (python web2py.py -S *app* -M). The problem is that when I call it
from the controller via a click, I get this traceback.
I am assuming tha
7 matches
Mail list logo