[Update] 修复上传录像文件,无法读取的问题

pull/1771/head
ibuler 2018-09-04 12:19:20 +08:00
parent bb13003a10
commit 5c8fd91cf9
1 changed files with 4 additions and 0 deletions

View File

@ -355,6 +355,10 @@ AUTHENTICATION_BACKENDS = [
# Custom User Auth model
AUTH_USER_MODEL = 'users.User'
# File Upload Permissions
FILE_UPLOAD_PERMISSIONS = 0o644
FILE_UPLOAD_DIRECTORY_PERMISSIONS = 0o755
# Auth LDAP settings
AUTH_LDAP = CONFIG.AUTH_LDAP
AUTH_LDAP_SERVER_URI = CONFIG.AUTH_LDAP_SERVER_URI