Commit Graph

12 Commits

Author SHA1 Message Date
Aaron Tan
c40614b8a4 Revert adding custom paginator. 2017-06-28 15:49:55 -04:00
Chris Church
9f1f770ebe Add custom paginator to use PostgreSQL window function instead of needing a separate COUNT(*) query. 2017-04-20 16:45:14 -04:00
Ryan Petrello
d418e41f7e Properly encode prev/next pagination links when URL contains unicode chars.
Resolves #4767
2017-01-18 12:43:27 -05:00
Matthew Jones
349d497bb4 Make max page size tunable 2016-12-12 12:10:33 -05:00
Matthew Jones
08edbb1b72 Set an upper limit of 200 on the max page size 2016-12-12 12:01:48 -05:00
Chris Church
c1c444fd3c Flake8 fix. 2016-03-29 15:19:17 -04:00
Chris Church
1b9c5ef55b Keep page number in previous link for page 1. 2016-03-29 13:56:41 -04:00
Chris Church
60224cdbe4 Update Django to 1.8 and DRF to 3.3, add new Django migrations, update serializers/pagination/metadata, update browsable API styling. 2016-02-02 17:48:04 -05:00
John Mitchell
32d1c0e4db fixed copyright date 2015-06-11 16:10:23 -04:00
Matthew Jones
b3da3b34a3 Changing some legal headers for python source files 2015-05-29 12:10:39 -04:00
Chris Church
2b7af0a2ec Happy new year!!! 2014-01-02 11:51:43 -05:00
Chris Church
98883e771f Moved API code into separate Django app. 2013-11-04 15:44:49 -05:00