1
0
forked from erp-dev/erp
This commit is contained in:
2026-07-05 13:53:17 +08:00
parent 4538e51ad5
commit e1cc6df122
24 changed files with 3030 additions and 495 deletions

View File

@@ -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'