accounts: me va login apilar togirlandi, create_user command qoshildi
This commit is contained in:
@@ -2,4 +2,5 @@ from .djangorestframework import *
|
||||
from .simple_jwt import *
|
||||
from .jazzmin import *
|
||||
from .cors_headers import *
|
||||
from .logs import *
|
||||
from .logs import *
|
||||
from .swagger import *
|
||||
@@ -1,7 +1,7 @@
|
||||
REST_FRAMEWORK = {
|
||||
'DEFAULT_AUTHENTICATION_CLASSES': [
|
||||
'rest_framework.authentication.SessionAuthentication',
|
||||
'rest_framework.authentication.BasicAuthentication'
|
||||
'rest_framework.authentication.BasicAuthentication',
|
||||
'rest_framework_simplejwt.authentication.JWTAuthentication',
|
||||
],
|
||||
}
|
||||
3
config/conf/swagger.py
Normal file
3
config/conf/swagger.py
Normal file
@@ -0,0 +1,3 @@
|
||||
SWAGGER_SETTINGS = {
|
||||
'DEFAULT_MODEL_RENDERING': 'example'
|
||||
}
|
||||
@@ -131,4 +131,4 @@ TENANT_MODEL = "customers.Client"
|
||||
TENANT_DOMAIN_MODEL = "customers.Domain"
|
||||
|
||||
|
||||
import config.conf
|
||||
from config.conf import *
|
||||
Reference in New Issue
Block a user