django admin 报错OSError: [Errno 22] Invalid argument

新建django项目, 在访问admin时报错: OSError: [Errno 22] Invalid argument

 

原因: 

  'DIRS'后的路径要有 []

 

posted @ 2022-10-19 14:31  tslam  阅读(218)  评论(0)    收藏  举报