codeforboston/bostongreenmap — pull request #59 by Mr0grog (2014-12-17 02:07:02+00:00)
Title: WIP: Paged search results

This is just a start right now and only includes changes to the API (no UI yet).

Some open questions:

- [ ] What should the default page size be? Right now it's 5, but that's almost certainly too small. 10? 20? something else?
- [ ] If `no_map` is `False`, should we still be paging? we'll need to modify the API to have a place to put the number of pages available in that case.
- [ ] How do we do error handling in the API right now? `page` and `page_size` need to be ints, but `int()` will raise an exception if it can't parse.
- [ ] Should we preserve a way to get back **all** results instead of paged results? `page=0` or `page_size=infinity` or who knows what?