django的全功能cli crud和更多功能
djcli的Python项目详细描述
- 用pip安装djcli,
- 进入一个有django项目的目录,
- 运行djcli
有关引用输出,请参阅djcli/tests/*.txt。
[jpic@hack djcli]$ djcli djcli: time for CLI party ! Will try to auto-detect $DJANGO_SETTINGS_MODULE by searching for settings.py from the current directory. help Get help for a command. chpasswd Change the password for user. dbcheck Check all database connections. delete Delete a model filtered with kwargs. detail Print detail for a model. ls Search models run Execute a callback in Django context. save Update or create a model. setting Show settings from django. settings Print out DJANGO_SETTINGS_MODULE.