我正试图使用对齐创建第一个工程, 但是在第一步本身就卡住了 。 当我给 < code> django- admin. py startproject my site command not working code > 命令时, 没有发生任何事件, 并且帮助获得相关信息 。 我设置了 < code> PYTHON_ HOME code >, < code> PATH code > 变量设置正确 。 我使用 python 2. 。
我的指令提示显示如下 :
C:ShekhardjangoWorld>c:Python27Scriptsdjango-admin.py startproject mysite
Usage: django-admin.py subcommand [options] [args]
Options:
-v VERBOSITY, --verbosity=VERBOSITY
Verbosity level; 0=minimal output, 1=normal output,
2=verbose output, 3=very verbose output
--settings=SETTINGS The Python path to a settings module, e.g.
"myproject.settings.main". If this isn t provided, the
DJANGO_SETTINGS_MODULE environment variable will be
used.
--pythonpath=PYTHONPATH
A directory to add to the Python path, e.g.
"/home/djangoprojects/myproject".
--traceback Print traceback on exception
--version show program s version number and exit
-h, --help show this help message and exit
Type django-admin.py help <subcommand> for help on a specific subcommand.
Available subcommands:
[django]
cleanup
compilemessages
createcachetable
dbshell
diffsettings
dumpdata
flush
inspectdb
loaddata
makemessages
reset
runfcgi
为什么贾尼戈不为我创造计划?
请救救我!