0

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?

Den Kasyanov
  • 870
  • 2
  • 11
  • 27

2 Answers2

3

Rich support an IPython Extension which should work with the Django shell.

Will McGugan
  • 2,005
  • 13
  • 10
1

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.

ChrisGPT was on strike
  • 127,765
  • 105
  • 273
  • 257