AUTH_CMD to USER_CMD, updated workflows, Makefile, and docker-compose for user service

This commit is contained in:
A'zamov Samandar
2025-04-19 19:24:18 +05:00
parent 098dce9fdb
commit bc24faeedd
126 changed files with 30 additions and 32 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,
}