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'
|
||||
|
||||
@@ -61,6 +61,7 @@ urlpatterns = [
|
||||
path('admin/', admin.site.urls),
|
||||
path('api/v1/', include('api_v1.urls')),
|
||||
path('api/v2/', include('api_v2.urls')),
|
||||
path('api/core/', include('api_core.urls')),
|
||||
path('api/backend/', include('api_man.urls')),
|
||||
|
||||
# sse 相关端点
|
||||
|
||||
Reference in New Issue
Block a user