Verified Commit 8bc2bfab authored by Sébastiaan Versteeg's avatar Sébastiaan Versteeg
Browse files

Add LimitOffsetPagination to REST framework settings

parent 8143e661
......@@ -168,7 +168,9 @@ REST_FRAMEWORK = {
'rest_framework.authentication.SessionAuthentication',
'rest_framework.authentication.BasicAuthentication',
'rest_framework.authentication.TokenAuthentication',
)
),
'DEFAULT_PAGINATION_CLASS':
'rest_framework.pagination.LimitOffsetPagination',
}
# Internationalization
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment