forked from erp-dev/erp
fin
This commit is contained in:
@@ -175,6 +175,7 @@ INSTALLED_APPS = [
|
||||
'stateflow',
|
||||
'sse',
|
||||
'api_v2',
|
||||
'api_core',
|
||||
'shipment',
|
||||
'settlement',
|
||||
'mission',
|
||||
@@ -218,6 +219,12 @@ SPECTACULAR_SETTINGS = {
|
||||
'DESCRIPTION': 'API documentation for the Flower project',
|
||||
'VERSION': '1.0.0',
|
||||
'SERVE_INCLUDE_SCHEMA': False,
|
||||
'SERVE_AUTHENTICATION': [
|
||||
'rest_framework_simplejwt.authentication.JWTAuthentication',
|
||||
],
|
||||
'SERVE_PERMISSIONS': [
|
||||
'rest_framework.permissions.IsAuthenticated',
|
||||
],
|
||||
}
|
||||
|
||||
ROOT_URLCONF = 'flower.urls'
|
||||
|
||||
Reference in New Issue
Block a user