Найти - Пользователи
Полная версия: Python&django настройка
Начало » Python для новичков » Python&django настройка
1 2
wiygn
Лично я под виндой делаю так:
cd C:\[path-to-my-projects-folder\
уже оттуда пишу
blabla\>C:\Python32\Scripts\django-admin.py startproject name
И проект создается в текущей папке.
ArseniyAndru
Команда:
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
Что не так?
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by DjangoBB