[web2py] Re: web2py new version

2015-03-14 Thread Ian Holser
You can go back. I don't know why web2py broke some backwards compatibility. The changes to dal made me have to import from dal.objects instead. I think there should be a placeholder for things like dal.Row. I just tried prettydate and it worked for me with the most recent version. On

[web2py] Re: SQLFORM.grid search with multiple terms

2015-03-10 Thread Ian Holser
I found a previous thread that solved my issue. https://groups.google.com/forum/#!msg/web2py/9_1ECdKHKUo/8OISg7o8OVIJ The search bar does not behave as most users would expect. The ability to type multiple words into the search, but not be considered a valid query is problematic. My changes

[web2py] SQLFORM.grid search with multiple terms

2015-03-09 Thread Ian Holser
with the whole list (no search performed) What is causing this behavior and can it be fixed? Thanks, Ian Holser -- 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) --- You

[web2py] Re: SQLFORM.grid and custom edit form

2014-12-13 Thread Ian Holser
I know this was a while ago, but I had a similar question and came across this thread. You can turn off the built in edit button by choosing editable=False, then create you own using links def example(): query = db.sometable links = [lambda row: A('Edit',_class='button btn