我无法将我的django应用程序推送到bluemix并继续收到以下错误:
运行' $ python manage.py collectstatic --noinput
&#39>时出错。
有关详情,请参阅上面的追溯
您可能需要更新应用程序代码才能解决此错误。
或者,您可以为此应用程序禁用collectstatic:
$ heroku config:设置DISABLE_COLLECTSTATIC = 1
https://devcenter.heroku.com/articles/django-assets
暂存失败:Buildpack编译步骤失败
FAILED BuildpackCompileFailed
我还没有对代码进行任何重大更改仍然有两个应用程序在推送代码时给出了同样的错误。 我使用的是python版本2.7.10和django版本1.6.5。
编辑 - 回溯 -
Traceback (most recent call last):
File "manage.py", line 10, in <module>
execute_from_command_line(sys.argv + ['0.0.0.0:' + str(PORT)])
File "/app/.heroku/python/lib/python2.7/site-packages/django/core/management/__init__.py", line 399, in execute_from_command_line
utility.execute()
File "/app/.heroku/python/lib/python2.7/site-packages/django/core/management/__init__.py", line 392, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/app/.heroku/python/lib/python2.7/site-packages/django/core/management/base.py", line 242, in run_from_argv
self.execute(*args, **options.__dict__)
File "/app/.heroku/python/lib/python2.7/site-packages/django/core/management/base.py", line 285, in execute
output = self.handle(*args, **options)
File "/app/.heroku/python/lib/python2.7/site-packages/django/core/management/base.py", line 414, in handle
raise CommandError("Command doesn't accept any arguments")
django.core.management.base.CommandError: Command doesn't accept any arguments
!运行&#39; $ python manage.py collectstatic --noinput&#39;。
时出错提前致谢..