https://stackoverflow.com/questions/14616805/why-wont-django-use-ipython
https://blog.csdn.net/Li_G_yuan/article/details/88073231
可以使用如下语句测试虚拟环境中是否安装ipython
python manage.py shell -i ipython
如果没有安装则报如下错误: CommandError: Couldn't import ipython interface.
CommandError: Couldn't import ipython interface.