您的位置:首页 > 编程语言 > Go语言

django常用命令

2014-12-20 13:52 399 查看
红色部分是我使用DJANGO1.7常用命令

Usage: manage.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 Raise on exception

--no-color Don't colorize the command output.

--version show program's version number and exit

-h, --help show this help message and exit

Type 'manage.py help <subcommand>' for help on a specific subcommand.

Available subcommands:

[auth]

changepassword

createsuperuser

[django]

check

compilemessages

createcachetable

dbshell

diffsettings

dumpdata

flush

inspectdb

loaddata

makemessages

makemigrations

migrate

runfcgi

shell

sql

sqlall

sqlclear

sqlcustom

sqldropindexes

sqlflush

sqlindexes

sqlinitialdata

sqlmigrate

sqlsequencereset

squashmigrations

startapp

startproject

syncdb

test

testserver

validate

[sessions]

clearsessions

[staticfiles]

collectstatic

findstatic

runserver
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: