debug为true ,不用设置static_root

debug 为false ,设置static_root

STATIC_ROOT = (  
    os.path.join(BASE_DIR, 'static')  
  
) 

 

相关文章:

  • 2021-06-06
  • 2021-10-05
  • 2021-11-19
  • 2021-04-29
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-25
猜你喜欢
  • 2022-02-10
  • 2021-07-10
  • 2022-02-02
  • 2022-12-23
  • 2022-12-23
  • 2021-07-25
  • 2021-11-19
相关资源
相似解决方案