Error finding Upload-Folder (site.storage.location + site.directory). Maybe it does not exist?

 

解决:

FILEBROWSER_DIRECTORY=’D://dev//tools//projects-py//dev//fenway//src//uploads/’
或者:FILEBROWSER_DIRECTORY=os.path.join(BASE_DIR, ‘uploads/’)
或者:(推荐)
MEDIA_ROOT = os.path.join(BASE_DIR, ‘media’)
MEDIA_URL = ‘/media/’
同时要在media下面建立uploads文件夹,FILEBROWSER默认在里面找。

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-25
  • 2021-10-14
  • 2022-12-23
  • 2022-12-23
  • 2021-05-24
猜你喜欢
  • 2021-12-18
  • 2022-12-23
  • 2022-12-23
  • 2021-08-31
  • 2022-12-23
  • 2022-01-13
相关资源
相似解决方案