运行时出错' $ python manage.py collectstatic --noinput'

时间:2016-05-17 09:10:58

标签: python django ibm-cloud

我正在尝试使用Git和Bluemix管道在bluemix上推送我的应用程序。我在构建阶段的两个案例中都出错了。 更具体地说,我在Windows操作系统上使用Python 2.7。

错误如下所述 -

You may need to update application code to resolve this error.
Or, you can disable collectstatic for this application:
$ heroku config:set DISABLE_COLLECTSTATIC=1
https://devcenter.heroku.com/articles/django-assets
Staging failed: Buildpack compilation step failed

我的requirements.txt文件:

Django==1.6.5
pygal==1.5.0
pymongo==2.8.0
cloudant==2.0.0a1
twitter==1.14.3
dj-database-url==0.3.0
django-cors-headers==1.0.0
xlwt==1.0.0
requests==2.7.0

禁用collectstatic会帮我解决这个问题吗?如果是的话,我怎么能在Windows上做呢?

0 个答案:

没有答案