Skip to content

Commit

Permalink
Moved: DRF settings to API app
Browse files Browse the repository at this point in the history
  • Loading branch information
capcom6 committed Aug 2, 2023
1 parent a3ef62d commit 6644c94
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion api/settings.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
REST_FRAMEWORK = {
"DEFAULT_PAGINATION_CLASS": "rest_framework.pagination.CursorPagination",
"DEFAULT_PAGINATION_CLASS": "api.pagination.CreatedAtPagination",
"PAGE_SIZE": 25,
}
5 changes: 1 addition & 4 deletions bread/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,4 @@

DEFAULT_AUTO_FIELD = "django.db.models.BigAutoField"

REST_FRAMEWORK = {
"DEFAULT_PAGINATION_CLASS": "api.pagination.CreatedAtPagination",
"PAGE_SIZE": 25,
}
from api.settings import *

0 comments on commit 6644c94

Please sign in to comment.