face id tog'rilandi
This commit is contained in:
@@ -3,7 +3,7 @@ from typing import Any, Union
|
|||||||
REST_FRAMEWORK: Union[Any] = {
|
REST_FRAMEWORK: Union[Any] = {
|
||||||
"DEFAULT_AUTHENTICATION_CLASSES": ("rest_framework_simplejwt.authentication.JWTAuthentication",),
|
"DEFAULT_AUTHENTICATION_CLASSES": ("rest_framework_simplejwt.authentication.JWTAuthentication",),
|
||||||
"DEFAULT_SCHEMA_CLASS": "drf_spectacular.openapi.AutoSchema",
|
"DEFAULT_SCHEMA_CLASS": "drf_spectacular.openapi.AutoSchema",
|
||||||
"DEFAULT_PERMISSION_CLASSES": ["rest_framework.permissions.IsAuthenticated"],
|
"DEFAULT_PERMISSION_CLASSES": ["rest_framework.permissions.AllowAny"],
|
||||||
"DEFAULT_PAGINATION_CLASS": "django_core.paginations.CustomPagination",
|
"DEFAULT_PAGINATION_CLASS": "django_core.paginations.CustomPagination",
|
||||||
"PAGE_SIZE": 10,
|
"PAGE_SIZE": 10,
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user