[web2py] SQLFORM.smartgrid where are the default styles located

2013-03-12 Thread leapingidiots
I am trying to locate where the SQLFORM.smartgrid default styles are located in my web2py project. Any help would be appreciated *cheers -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving

[web2py] Pass Query to SQLFORM

2013-03-10 Thread leapingidiots
Hello I am probably going about this wrong. But I am wondering if it is possible to do something like this with SQLFORM so I can pass on successful submission an update saying confirmed = False @auth.requires_login() def edit_listing(): listing_id = request.args(0) query = db((db.listin

[web2py] How to search by region then category

2013-03-04 Thread leapingidiots
Hello I am trying to figure out how to do a query where given the region of an entry in a database show entries from categories where people have chosen that region. I have atm this database code db.define_table('listing', Field('userinfo',db.auth_user,default=auth.user_id, writable=False,