Skip to content

Commit a80ebd4

Browse files
committed
feat: add configuration for maximum number of uploaded files
--bug=1061639 --user=刘瑞斌 【知识库】知识库的最多上传文件数设置不生效 https://www.tapd.cn/62980211/s/1771564
1 parent fd11960 commit a80ebd4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

apps/maxkb/settings/base.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,10 @@
168168
USE_I18N = True
169169

170170
USE_TZ = True
171+
172+
# 文件上传配置
173+
DATA_UPLOAD_MAX_NUMBER_FILES = 1000
174+
171175
# 支持的语言
172176
LANGUAGES = [
173177
('en', 'English'),

0 commit comments

Comments
 (0)