swcarpentry/amy — pull request #57 by rbeagrie (2014-12-14 17:58:04+00:00)
Title: Paginate events

Added code for paginating the display of all events. The all_events view can now take two optional query parameters:

- page: The page number to display (default first)
- items_per_page: Integer number of items to display (or "all", default 25)

I also added some unit tests to make sure the response is paginated by default, and to make sure we handle some edge cases with the two new query parameters properly.