setting中三个重要参数

1.TEMPLATES

2.STATIC_URL = '/static/' -----(其中static可以改成abc,便于前端编写)

3.STATICFILE_DIRS(

  os.path.join(BASE_DIR,"statics"),

)


原文地址:https://www.cnblogs.com/startl/p/12357459.html