ImportError: cannot import name get_path_info

后端 未结 1 1730
灰色年华
灰色年华 2020-12-12 02:23

My question is why foreman start not serving css file in dev environment ...? but my app running perfectly fine in heroku production server. Correct me if i am wrong, i thou

相关标签:
1条回答
  • 2020-12-12 02:55

    Try setting dj-static==0.0.6 in your requirements.txt file for Virtualenv. There might be a versioning issue on PyPI or a Django1.7 issue or the Heroku tutorial shows to use 0.0.5.

    I've reported this issue to Heroku and their tutorial is now updated to reflect newer versions in the requirements.txt.

    0 讨论(0)
提交回复
热议问题