python - Fixing cursor issues in Web2Py on Google AppEngine? -


i have simple ui interacting database set on google appengine application using web2py. i'm using default grid builder settings display it. here full controller function:

@auth.requires_login() def managepeople():    # hide id column being seen on page   db.people.id.readable = false   db.people.id.writable = false    people = sqlform.grid(db.people, paginate = 15)    # allow csv imports on page   if request.vars.csvfile != none:     db.people.import_from_csv_file(request.vars.csvfile.file)     response.flash = 'data uploaded'    return dict(people=people) 

i have on 15 records in database, when it's rendered correctly cut off 15 people , displays next button in bottom of grid. when click on a:

query not supported: unknown configuration option ('cursor') 

error.

the resulting url like:

http://localhost:8080/peopleapp/ui/managepeople?cursor=cursor%28%3ccjusl2owzgv2fmdyywrzdhvkzw50y2hly2tpbnivcxiiu3r1zgvudhmygicagicaoaomgaagaa%3d%3d%3e%29&page=2&_signature=f3916524c6c595a8f15ed3acc2750b0d49af7702 

i looked , apparently cursor no longer option in gae according page: ndb query class. tried manually changing option cursor in url start_cursor since 1 of new supported options. after doing loads without errors, displays page 1 again instead of moving on second page.

at point thoroughly confused , couldn't think of how continue. suggestions or welcome. i'm sure build grid don't want if have option of using robust built-in tool.

this issue fixed updating web2py v2.11.2


Comments

Popular posts from this blog

node.js - Using Node without global install -

How to access a php class file from PHPFox framework into javascript code written in simple HTML file? -

java - Null response to php query in android, even though php works properly -