Skip to content

Commit

Permalink
feat: rest framework pagination class
Browse files Browse the repository at this point in the history
  • Loading branch information
Shavkatjon-O committed Sep 10, 2024
1 parent eae5f39 commit 276c8cf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,8 @@


REST_FRAMEWORK = {
"DEFAULT_PAGINATION_CLASS": "rest_framework.pagination.PageNumberPagination",
"PAGE_SIZE": 10,
"DEFAULT_AUTHENTICATION_CLASSES": (
"rest_framework_simplejwt.authentication.JWTAuthentication",
),
Expand Down

0 comments on commit 276c8cf

Please sign in to comment.