django-admin.py只打印帮助

时间:2011-07-17 01:30:34

标签: python django

  

可能重复:
  django-admin.py prints help only

尝试学习Django,每次运行django-admin.py脚本时,它所做的就是打印帮助。有什么问题?

N:\Code\djtest>django-admin.py startproject helloworld
Usage: django-admin.py subcommand [options] [args]

Options:
  -v VERBOSITY, --verbosity=VERBOSITY
(...)

N:\Code\djtest>django-admin.py help startproject
Usage: django-admin.py subcommand [options] [args]

Options:
  -v VERBOSITY, --verbosity=VERBOSITY
(...)

如果我运行python C:\Python27\Scripts\django-admin.py startproject blahblah确实有效,尽管这很麻烦。

0 个答案:

没有答案