'How to replace/extend Django shell with Rich?
Django allows to replace its default shell with more capable ones like ipython
and bpython
.
Is there a way to replace/extend the default Django shell with Rich?
Solution 1:[1]
Rich support an IPython Extension which should work with the Django shell.
Solution 2:[2]
It's unlikely that you'll be able to do this without modifying Django itself.
The list of supported shells is hard-coded and ipython
and bpython
have slightly different start-up logic.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | |
Solution 2 | Chris |