yf_yzl 2 年之前
父节点
当前提交
92c40353bb
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      bigdataAPI/settings.py

+ 1 - 0
bigdataAPI/settings.py

@@ -152,6 +152,7 @@ USE_TZ = False
 # https://docs.djangoproject.com/en/2.1/howto/static-files/
 
 STATIC_URL = '/static/'
+STATIC_ROOT = os.path.join(BASE_DIR, 'static')
 
 AUTH_USER_MODEL = 'UserApp.MyUser'