Skip to content

Commit

Permalink
Set max paging back to 200
Browse files Browse the repository at this point in the history
Signed-off-by: Akiff Manji <[email protected]>
  • Loading branch information
amanji committed Oct 25, 2021
1 parent 0ce6594 commit 800fe4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/vcr-server/vcr_server/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ def parse_bool(val):
# "DEFAULT_VERSIONING_CLASS": "rest_framework.versioning.NamespaceVersioning",
"DEFAULT_PAGINATION_CLASS": "vcr_server.pagination.EnhancedPageNumberPagination",
"PAGE_SIZE": int(os.getenv("PAGE_SIZE", "10")),
"MAX_PAGE_SIZE": int(os.getenv("MAX_PAGE_SIZE", "100")),
"MAX_PAGE_SIZE": int(os.getenv("MAX_PAGE_SIZE", "200")),
"DEFAULT_AUTHENTICATION_CLASSES": authentication.defaults(),
"DEFAULT_PERMISSION_CLASSES": [
"rest_framework.permissions.DjangoModelPermissionsOrAnonReadOnly"
Expand Down

0 comments on commit 800fe4b

Please sign in to comment.