首页 > 代码库 > Python Django manage.py提供的命令及用法

Python Django manage.py提供的命令及用法


λ
python manage.py
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
sendtestemail
shell
showmigrations
sqlflush
sqlmigrate
sqlsequencereset
squashmigrations
startapp
startproject
test
testserver

[sessions]
clearsessions

[staticfiles]
collectstatic
findstatic
runserver

Python Django manage.py提供的命令及用法