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

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了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提供的命令及用法的主要内容,如果未能解决你的问题,请参考以下文章

django-admin和manage.py

django-admin和manage.py

manage.py命令

Django 中 python manage.py makemigrations 与 python manage.py migrate

初试django---python manage.py makemigrations以及python manage.py migrate

django 和 python ./manage.py makemigrations 执行错误