Добавлено базовое API + finished #4 #17 #20

Merged
AlekseyLobanov merged 5 commits from feat_4.base_api into develop 2021-04-17 15:01:03 +03:00
Showing only changes of commit 0f2f291c18 - Show all commits

View File

@@ -128,6 +128,8 @@ REST_FRAMEWORK = {
"rest_framework_simplejwt.authentication.JWTAuthentication", "rest_framework_simplejwt.authentication.JWTAuthentication",
), ),
"DEFAULT_FILTER_BACKENDS": ["django_filters.rest_framework.DjangoFilterBackend"], "DEFAULT_FILTER_BACKENDS": ["django_filters.rest_framework.DjangoFilterBackend"],
"DEFAULT_PAGINATION_CLASS": "rest_framework.pagination.LimitOffsetPagination",
"PAGE_SIZE": 100,
} }