问题描述
Django允许replace its default shell with more capable ones像ipython
和bpython
一样。
是否可以用Rich替换/扩展默认的Django shell?
解决方法
不修改Django本身就不可能做到这一点。
受支持的shell is hard-coded和ipython
and bpython
have slightly different start-up logic的列表。
Rich的作者在这里。我计划研究如何将Rich pretty printing与iPython集成。在Twitter上关注@willmcgugan以获取进度报告。