start auth apis and packages, redis, celery and run with docker
This commit is contained in:
6
config/conf/rest_framework.py
Normal file
6
config/conf/rest_framework.py
Normal file
@@ -0,0 +1,6 @@
|
||||
|
||||
REST_FRAMEWORK = {
|
||||
"DEFAULT_AUTHENTICATION_CLASSES": ("rest_framework_simplejwt.authentication.JWTAuthentication",),
|
||||
"DEFAULT_SCHEMA_CLASS": "drf_spectacular.openapi.AutoSchema",
|
||||
"DEFAULT_PERMISSION_CLASSES": ["rest_framework.permissions.IsAuthenticated"],
|
||||
}
|
||||
Reference in New Issue
Block a user