Форум сайта python.su
2
Лично я под виндой делаю так:
cd C:\[path-to-my-projects-folder\
blabla\>C:\Python32\Scripts\django-admin.py startproject name
Офлайн
0
Команда:
C:\Users\Арсений>cd C:\Выводит:
C:\>C:\Python27\Scripts\django-admin.py startproject name
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:
cleanup
compilemessages
createcachetable
dbshell
diffsettings
dumpdata
flush
inspectdb
loaddata
makemessages
runfcgi
runserver
shell
sql
sqlall
sqlclear
sqlcustom
sqlflush
sqlindexes
sqlinitialdata
sqlsequencereset
startapp
startproject
syncdb
test
testserver
validate
Отредактировано ArseniyAndru (Май 31, 2013 00:12:13)
Офлайн