Skip to content

Commit

Permalink
fix(settings): add default order verification for unordered queries
Browse files Browse the repository at this point in the history
  • Loading branch information
IsaacDMz committed Nov 12, 2023
1 parent 3921322 commit 5f41ad1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions backend/backend/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@
"DEFAULT_THROTTLE_RATES": {"anon": "7/min", "user": "10/min"},
"DEFAULT_SCHEMA_CLASS": "drf_spectacular.openapi.AutoSchema",
"DEFAULT_PAGINATION_CLASS": "rest_framework.pagination.PageNumberPagination",
'DEFAULT_PAGINATION_ORDERS_OBJECTS': False,
"PAGE_SIZE": 20,
}

Expand Down

0 comments on commit 5f41ad1

Please sign in to comment.