Django Heroku静态目录问题,怎么解决
展开全部
You're on your way. What's happening is that Heroku is trying to use your STATICFILES_DIRS setting (/home/kevin/web/django/appheroku/blogapp/static) that exists locally on your machine but won't doesn't exist on the Heroku server.
A simple solution is to remove that line from the staticfiles_dir variable so you have:
A simple solution is to remove that line from the staticfiles_dir variable so you have:
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询