auth service created

This commit is contained in:
A'zamov Samandar
2025-04-19 14:58:55 +05:00
parent a4b5833bbe
commit dd0da49eb9
127 changed files with 67 additions and 43 deletions

View File

@@ -0,0 +1,9 @@
from typing import Any, Union
REST_FRAMEWORK: Union[Any] = {
"DEFAULT_AUTHENTICATION_CLASSES": ("rest_framework_simplejwt.authentication.JWTAuthentication",),
"DEFAULT_SCHEMA_CLASS": "drf_spectacular.openapi.AutoSchema",
"DEFAULT_PERMISSION_CLASSES": ["rest_framework.permissions.IsAuthenticated"],
"DEFAULT_PAGINATION_CLASS": "django_core.paginations.CustomPagination",
"PAGE_SIZE": 10,
}