在 2013年10月1日星期二UTC+8下午1时47分05秒,YetToCome写道: > I can't create a django project, I think the usage of the commend is > correct...here is the error information. > > > > > > h:\jcode>django-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.
And what happened now... h:\jcode>django-admin.py help Type 'django-admin.py help' for usage. -- https://mail.python.org/mailman/listinfo/python-list