Hi, Im using this efficient pager:
http://appengine-cookbook.appspot.com/recipe/efficient-paging-for-any-query-and-any-model/?id=ahJhcHBlbmdpbmUtY29va2Jvb2tylwELEgtSZWNpcGVJbmRleCI8YWhKaGNIQmxibWRwYm1VdFkyOXZhMkp2YjJ0eUZ3c1NDRU5oZEdWbmIzSjVJZ2xFWVhSaGMzUnZjbVVNDAsSBlJlY2lwZSI-YWhKaGNIQmxibWRwYm1VdFkyOXZhMkp2YjJ0eUZ3c1NDRU5oZEdWbmIzSjVJZ2xFWVhSaGMzUnZjbVVNNDIM But I have a problem, I need to fetch results and start from one particular object (not from results beginning), so I need to generate the bookmark for a particular object, I tried it but its not working when I set and ordering ... Im generating bookmark in this way: query = PagerQuery(Photo) bookmark = encode_bookmark(query._get_bookmark_values(photo)) prev, photos, next = query.fetch(1, bookmark) but when I order the query it is giving me an empty list query = PagerQuery(Photo).order("-date") Does anyone can help me?? -- Jairo Vasquez Moreno --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~----------~----~----~----~------~----~------~--~---
