Skip to content

Commit

Permalink
refs #927. Adds pagination to API.
Browse files Browse the repository at this point in the history
  • Loading branch information
Justin Littman committed May 25, 2018
1 parent d3795b4 commit e36a8a8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion sfm/sfm/settings/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,9 @@
CRISPY_TEMPLATE_PACK = 'bootstrap3'

REST_FRAMEWORK = {
'DEFAULT_FILTER_BACKENDS': ('rest_framework.filters.DjangoFilterBackend',)
'DEFAULT_FILTER_BACKENDS': ('rest_framework.filters.DjangoFilterBackend',),
'DEFAULT_PAGINATION_CLASS': 'rest_framework.pagination.LimitOffsetPagination',
'PAGE_SIZE': 250
}

# Institution name, such as 'GW Libraries'
Expand Down

0 comments on commit e36a8a8

Please sign in to comment.